Class ShapePaint
java.lang.Object
com.inductiveautomation.ignition.designer.designable.ShapePaint
Holds colors, paint modes, and stroke widths - everything needed to paint a shape
- 
Constructor SummaryConstructorsConstructorDescriptionShapePaint(Color fill, Color stroke) ShapePaint(Color fillColor, Color strokeColor, Stroke stroke) ShapePaint(Color fillColor, Color strokeColor, Stroke stroke, Color fillXOR, Color strokeXOR, Boolean antialias) 
- 
Method SummaryModifier and TypeMethodDescriptionvoid
- 
Constructor Details- 
ShapePaint
- 
ShapePaint
- 
ShapePaint
- 
ShapePaintpublic ShapePaint(Color fillColor, Color strokeColor, Stroke stroke, Color fillXOR, Color strokeXOR, Boolean antialias) - Parameters:
- fillColor- Color to fill the shape, or null for no fill
- strokeColor- Color for the stroke, or null for no stroke
- stroke- Stroke to use (if strokeColor isn't null)
- fillXOR- If non-null, XOR mode will be used for fill with this as the XOR color
- strokeXOR- if non-null, XOR mode will be used for the stroke with this as the XOR color
- antialias- A value of null means use the graphics context as-is, true will turn on anti-alias, false will turn it off.
 
 
- 
- 
Method Details- 
paint
- 
getFillColor
- 
getStrokeColor
- 
getStroke
- 
getFillXOR
- 
getStrokeXOR
 
-