public static class RMMultipleStopGradient.AngleGradient extends RMMultipleStopGradient
RMMultipleStopGradient.AngleGradient, RMMultipleStopGradient.DiamondGradient, RMMultipleStopGradient.RadialGradient
Constructor and Description |
---|
AngleGradient(float x0,
float y0,
float x1,
float y1,
RMGradientFill fill)
Creates a new angle gradient.
|
Modifier and Type | Method and Description |
---|---|
void |
doShading(int[] argb_samples,
int x,
int y,
int w,
int h)
Override.
|
void |
setDeviceTransform(java.awt.geom.AffineTransform x,
java.awt.Rectangle devRect)
Sets the transform from user space to device space.
|
createContext, dispose, getColorModel, getRaster, getShadePixel, getTransparency
public AngleGradient(float x0, float y0, float x1, float y1, RMGradientFill fill)
public void setDeviceTransform(java.awt.geom.AffineTransform x, java.awt.Rectangle devRect)
setDeviceTransform
in class RMMultipleStopGradient
public void doShading(int[] argb_samples, int x, int y, int w, int h)
doShading
in class RMMultipleStopGradient