Package gnu.kawa.models
Class WithPaint
- java.lang.Object
-
- gnu.kawa.models.WithPaint
-
-
Field Summary
Fields Modifier and Type Field Description static intSTROKE_ALL_SETstatic intSTROKE_DASHARRAY_SETstatic intSTROKE_DASHOFFSET_SETstatic intSTROKE_LINECAP_SETstatic intSTROKE_LINEJOIN_SETstatic intSTROKE_MITERLIMIT_SETstatic intSTROKE_WIDTH_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle2DgetBounds2D()static BasicStrokemerge(BasicStroke newStroke, int select, BasicStroke oldStroke)voidpaint(Graphics2D graphics)Picturetransform(AffineTransform tr)voidvisit(PictureVisitor visitor)
-
-
-
Field Detail
-
STROKE_WIDTH_SET
public static final int STROKE_WIDTH_SET
- See Also:
- Constant Field Values
-
STROKE_LINECAP_SET
public static final int STROKE_LINECAP_SET
- See Also:
- Constant Field Values
-
STROKE_LINEJOIN_SET
public static final int STROKE_LINEJOIN_SET
- See Also:
- Constant Field Values
-
STROKE_MITERLIMIT_SET
public static final int STROKE_MITERLIMIT_SET
- See Also:
- Constant Field Values
-
STROKE_DASHARRAY_SET
public static final int STROKE_DASHARRAY_SET
- See Also:
- Constant Field Values
-
STROKE_DASHOFFSET_SET
public static final int STROKE_DASHOFFSET_SET
- See Also:
- Constant Field Values
-
STROKE_ALL_SET
public static final int STROKE_ALL_SET
- See Also:
- Constant Field Values
-
-
Method Detail
-
merge
public static BasicStroke merge(BasicStroke newStroke, int select, BasicStroke oldStroke)
-
paint
public void paint(Graphics2D graphics)
-
getBounds2D
public Rectangle2D getBounds2D()
- Specified by:
getBounds2Din interfacePicture
-
transform
public Picture transform(AffineTransform tr)
-
visit
public void visit(PictureVisitor visitor)
-
-