Class RMMultipleStopGradient.DiamondGradient
java.lang.Object
com.inductiveautomation.rm.graphics.RMMultipleStopGradient
com.inductiveautomation.rm.graphics.RMMultipleStopGradient.DiamondGradient
- All Implemented Interfaces:
Paint
,PaintContext
,Transparency
- Enclosing class:
- RMMultipleStopGradient
A multiple stop diamond gradient.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.rm.graphics.RMMultipleStopGradient
RMMultipleStopGradient.AngleGradient, RMMultipleStopGradient.DiamondGradient, RMMultipleStopGradient.RadialGradient
-
Field Summary
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
Constructor Summary
ConstructorsConstructorDescriptionDiamondGradient
(float x0, float y0, float x1, float y1, RMGradientFill fill) Creates a new multiple stop diamond gradient. -
Method Summary
Modifier and TypeMethodDescriptionvoid
doShading
(int[] argbSamples, int x, int y, int w, int h) Override.void
setDeviceTransform
(AffineTransform x, Rectangle devRect) Sets the transform from user space to device space.Methods inherited from class com.inductiveautomation.rm.graphics.RMMultipleStopGradient
createContext, dispose, getColorModel, getRaster, getShadePixel, getTransparency
-
Constructor Details
-
DiamondGradient
Creates a new multiple stop diamond gradient.
-
-
Method Details
-
setDeviceTransform
Sets the transform from user space to device space.- Overrides:
setDeviceTransform
in classRMMultipleStopGradient
-
doShading
public void doShading(int[] argbSamples, int x, int y, int w, int h) Override.- Overrides:
doShading
in classRMMultipleStopGradient
-