Class ShapeGradientPaint
java.lang.Object
com.inductiveautomation.factorypmi.application.components.util.ShapeGradientPaint
- All Implemented Interfaces:
- Paint,- Transparency
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Colorprotected Point2Dprotected Shapeprotected Colorprotected booleanFields inherited from interface java.awt.TransparencyBITMASK, OPAQUE, TRANSLUCENT
- 
Constructor SummaryConstructorsConstructorDescriptionShapeGradientPaint(Shape shape, Color main, Color background, Point2D radius, boolean solidCenter) 
- 
Method SummaryModifier and TypeMethodDescriptioncreateContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) int
- 
Field Details- 
shape
- 
shapeColor
- 
backgroundColor
- 
radius
- 
solidCenterprotected boolean solidCenter
 
- 
- 
Constructor Details- 
ShapeGradientPaint
 
- 
- 
Method Details- 
createContextpublic PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints) - Specified by:
- createContextin interface- Paint
 
- 
getTransparencypublic int getTransparency()- Specified by:
- getTransparencyin interface- Transparency
 
 
-