public class PaintStructure<F,I>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
arcDiameter
Diameter of the arc at the four corner.
|
boolean |
centered
Flag indicating if the text needs to be centered vertically.
|
boolean |
clear
Flag indicating if we need to clean area instead of drawing.
|
java.util.Set<NativeRectangle> |
clip
Clipping rectangles
|
ColorRgb |
color
Color parameter
|
boolean |
convert3D
Replace certain colors with predefined system wide 3D colors flag.
|
int |
edgeFlags
Edge flags for drawEdge
|
int |
edgeType
Edge type for drawEdge
|
FontDetails<F> |
font
Font parameter
|
int |
height
Height parameter
|
PaintPrimitives |
id
Paint operation
|
ImageWrapper<I> |
img
Image to draw
|
int |
nPoints
Polygon number of coordinates
|
boolean |
raised
Raised parameter for 3D operations
|
boolean |
retainShape
Keep image aspect ratio when fitting image to area flag.
|
boolean |
stretchToFit
Fit image to surrounding area flag.
|
LineStroke |
stroke
Pattern to draw the lines.
|
float |
strokeWidth
Optional width for the stroke.
|
FontStyle |
style
Font style constant.
|
java.lang.String |
text
Text to draw
|
java.lang.String |
title
The OS window's title.
|
boolean |
transparent
Transparency image flag.
|
int |
width
Width parameter
|
int |
x
X parameter
|
int |
xOffset
X offset to start drawing image.
|
int[] |
xPoints
Polygon X coordinates
|
int |
y
Y parameter
|
int |
yOffset
Y offset to start drawing image.
|
int[] |
yPoints
Polygon Y coordinates
|
Constructor and Description |
---|
PaintStructure(PaintPrimitives id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Only used for debugging.
|
public PaintPrimitives id
public int x
public int y
public int width
public int height
public int xOffset
public int yOffset
public boolean transparent
public boolean stretchToFit
public boolean retainShape
public boolean convert3D
public int arcDiameter
public int[] xPoints
public int[] yPoints
public int nPoints
public boolean raised
public FontDetails<F> font
public FontStyle style
public ColorRgb color
public java.lang.String text
public ImageWrapper<I> img
public LineStroke stroke
public float strokeWidth
public java.lang.String title
public boolean centered
public boolean clear
public java.util.Set<NativeRectangle> clip
public int edgeType
public int edgeFlags
public PaintStructure(PaintPrimitives id)
id
- Paint operation id.public java.lang.String toString()
toString
in class java.lang.Object