Class ShapeGradientPaint.ShapeGradientContext
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.ShapeGradientPaint.ShapeGradientContext
- All Implemented Interfaces:
PaintContext
- Enclosing class:
- ShapeGradientPaint
protected static class ShapeGradientPaint.ShapeGradientContext
extends Object
implements PaintContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Color
protected double
protected Shape
protected Color
protected boolean
protected Shape
protected AffineTransform
-
Constructor Summary
ConstructorsConstructorDescriptionShapeGradientContext
(AffineTransform xform, Shape shape, double radius, Color shapeColor, Color backgroundColor, boolean solidCenter) -
Method Summary
-
Field Details
-
radius
protected double radius -
xform
-
shape
-
txShape
-
shapeColor
-
backgroundColor
-
solidCenter
protected boolean solidCenter
-
-
Constructor Details
-
ShapeGradientContext
public ShapeGradientContext(AffineTransform xform, Shape shape, double radius, Color shapeColor, Color backgroundColor, boolean solidCenter)
-
-
Method Details
-
dispose
public void dispose()- Specified by:
dispose
in interfacePaintContext
-
getColorModel
- Specified by:
getColorModel
in interfacePaintContext
-
getRaster
- Specified by:
getRaster
in interfacePaintContext
-