Modifier and Type | Field and 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 |
Constructor and Description |
---|
WithPaint(Picture picture,
java.awt.Paint paint) |
WithPaint(Picture picture,
java.awt.Paint paint,
java.awt.Stroke stroke,
int propertiesSet) |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getBounds2D() |
static java.awt.BasicStroke |
merge(java.awt.BasicStroke newStroke,
int select,
java.awt.BasicStroke oldStroke) |
void |
paint(java.awt.Graphics2D graphics) |
Picture |
transform(java.awt.geom.AffineTransform tr) |
void |
visit(PictureVisitor visitor) |
public static final int STROKE_WIDTH_SET
public static final int STROKE_LINECAP_SET
public static final int STROKE_LINEJOIN_SET
public static final int STROKE_MITERLIMIT_SET
public static final int STROKE_DASHARRAY_SET
public static final int STROKE_DASHOFFSET_SET
public static final int STROKE_ALL_SET
public WithPaint(Picture picture, java.awt.Paint paint)
public WithPaint(Picture picture, java.awt.Paint paint, java.awt.Stroke stroke, int propertiesSet)
public static java.awt.BasicStroke merge(java.awt.BasicStroke newStroke, int select, java.awt.BasicStroke oldStroke)
public java.awt.geom.Rectangle2D getBounds2D()
getBounds2D
in interface Picture
public Picture transform(java.awt.geom.AffineTransform tr)
public void visit(PictureVisitor visitor)