Class RMMultipleStopGradient.AngleGradient
java.lang.Object
com.inductiveautomation.rm.graphics.RMMultipleStopGradient
com.inductiveautomation.rm.graphics.RMMultipleStopGradient.AngleGradient
- All Implemented Interfaces:
Paint, PaintContext, Transparency
- Enclosing class:
RMMultipleStopGradient
Multiple stop angle gradient with angles.
-
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
ConstructorsConstructorDescriptionAngleGradient(float x0, float y0, float x1, float y1, RMGradientFill fill) Creates a new angle 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
-
AngleGradient
Creates a new angle 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
-