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