Class ShapeGradientPaint.ShapeGradientContext
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.util.ShapeGradientPaint.ShapeGradientContext
-
- All Implemented Interfaces:
java.awt.PaintContext
- Enclosing class:
- ShapeGradientPaint
protected static class ShapeGradientPaint.ShapeGradientContext extends java.lang.Object implements java.awt.PaintContext
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Color
backgroundColor
protected double
radius
protected java.awt.Shape
shape
protected java.awt.Color
shapeColor
protected boolean
solidCenter
protected java.awt.Shape
txShape
protected java.awt.geom.AffineTransform
xform
-
Constructor Summary
Constructors Constructor Description ShapeGradientContext(java.awt.geom.AffineTransform xform, java.awt.Shape shape, double radius, java.awt.Color shapeColor, java.awt.Color backgroundColor, boolean solidCenter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
java.awt.image.ColorModel
getColorModel()
java.awt.image.Raster
getRaster(int x, int y, int w, int h)
-
-
-
Field Detail
-
radius
protected double radius
-
xform
protected java.awt.geom.AffineTransform xform
-
shape
protected java.awt.Shape shape
-
txShape
protected java.awt.Shape txShape
-
shapeColor
protected java.awt.Color shapeColor
-
backgroundColor
protected java.awt.Color backgroundColor
-
solidCenter
protected boolean solidCenter
-
-
Method Detail
-
dispose
public void dispose()
- Specified by:
dispose
in interfacejava.awt.PaintContext
-
getColorModel
public java.awt.image.ColorModel getColorModel()
- Specified by:
getColorModel
in interfacejava.awt.PaintContext
-
getRaster
public java.awt.image.Raster getRaster(int x, int y, int w, int h)
- Specified by:
getRaster
in interfacejava.awt.PaintContext
-
-