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 RMMultipleStopGradient
RMMultipleStopGradient.AngleGradient, RMMultipleStopGradient.DiamondGradient, RMMultipleStopGradient.RadialGradient -
Field Summary
Fields inherited from interface 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 TypeMethodDescriptionvoiddoShading(int[] argbSamples, int x, int y, int w, int h) Override.voidsetDeviceTransform(AffineTransform x, Rectangle devRect) Sets the transform from user space to device space.Methods inherited from class 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:
setDeviceTransformin classRMMultipleStopGradient
-
doShading
public void doShading(int[] argbSamples, int x, int y, int w, int h) Override.- Overrides:
doShadingin classRMMultipleStopGradient
-