Package gnu.kawa.models
Class WithPaint
- java.lang.Object
-
- gnu.kawa.models.WithPaint
-
-
Field Summary
Fields Modifier and Type Field Description static int
STROKE_ALL_SET
static int
STROKE_DASHARRAY_SET
static int
STROKE_DASHOFFSET_SET
static int
STROKE_LINECAP_SET
static int
STROKE_LINEJOIN_SET
static int
STROKE_MITERLIMIT_SET
static int
STROKE_WIDTH_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle2D
getBounds2D()
static BasicStroke
merge(BasicStroke newStroke, int select, BasicStroke oldStroke)
void
paint(Graphics2D graphics)
Picture
transform(AffineTransform tr)
void
visit(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:
getBounds2D
in interfacePicture
-
transform
public Picture transform(AffineTransform tr)
-
visit
public void visit(PictureVisitor visitor)
-
-