jdk/src/share/classes/java/awt/BasicStroke.java
changeset 12813 c10ab96dcf41
parent 7006 05505fff1342
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    24  */
    24  */
    25 
    25 
    26 package java.awt;
    26 package java.awt;
    27 
    27 
    28 import java.beans.ConstructorProperties;
    28 import java.beans.ConstructorProperties;
       
    29 
       
    30 import javax.tools.annotation.GenerateNativeHeader;
    29 
    31 
    30 /**
    32 /**
    31  * The <code>BasicStroke</code> class defines a basic set of rendering
    33  * The <code>BasicStroke</code> class defines a basic set of rendering
    32  * attributes for the outlines of graphics primitives, which are rendered
    34  * attributes for the outlines of graphics primitives, which are rendered
    33  * with a {@link Graphics2D} object that has its Stroke attribute set to
    35  * with a {@link Graphics2D} object that has its Stroke attribute set to
   107  * For more information on the user space coordinate system and the
   109  * For more information on the user space coordinate system and the
   108  * rendering process, see the <code>Graphics2D</code> class comments.
   110  * rendering process, see the <code>Graphics2D</code> class comments.
   109  * @see Graphics2D
   111  * @see Graphics2D
   110  * @author Jim Graham
   112  * @author Jim Graham
   111  */
   113  */
       
   114 /* No native methods here, but the constants are needed in the supporting JNI code */
       
   115 @GenerateNativeHeader
   112 public class BasicStroke implements Stroke {
   116 public class BasicStroke implements Stroke {
   113 
   117 
   114     /**
   118     /**
   115      * Joins path segments by extending their outside edges until
   119      * Joins path segments by extending their outside edges until
   116      * they meet.
   120      * they meet.