public class CmxGradient extends Object
Represents a gradient info.
Constructor and Description |
---|
CmxGradient() |
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Gets the angle.
|
long |
getCenterXOffset()
Gets the center x offset.
|
long |
getCenterYOffset()
Gets the center y offset.
|
CmxColor[] |
getColors()
Gets the colors.
|
int |
getEdgeOffset()
Gets the edge offset.
|
int |
getMode()
Gets the mode.
|
float[] |
getOffsets()
Gets the offsets.
|
int |
getRateMethod()
Gets the rate method.
|
int |
getRateValue()
Gets the rate value.
|
int |
getScreen()
Gets the screen.
|
int |
getSteps()
Gets the steps.
|
int |
getType()
Gets the type.
|
void |
setAngle(float value)
Sets the angle.
|
void |
setCenterXOffset(long value)
Sets the center x offset.
|
void |
setCenterYOffset(long value)
Sets the center y offset.
|
void |
setColors(CmxColor[] value)
Sets the colors.
|
void |
setEdgeOffset(int value)
Sets the edge offset.
|
void |
setMode(int value)
Sets the mode.
|
void |
setOffsets(float[] value)
Sets the offsets.
|
void |
setRateMethod(int value)
Sets the rate method.
|
void |
setRateValue(int value)
Sets the rate value.
|
void |
setScreen(int value)
Sets the screen.
|
void |
setSteps(int value)
Sets the steps.
|
void |
setType(int value)
Sets the type.
|
String |
toString()
Returns a
String that represents this instance. |
public final float getAngle()
Gets the angle.
public final void setAngle(float value)
Sets the angle.
value
- the angle.public final long getCenterXOffset()
Gets the center x offset.
public final void setCenterXOffset(long value)
Sets the center x offset.
value
- the center x offset.public final long getCenterYOffset()
Gets the center y offset.
public final void setCenterYOffset(long value)
Sets the center y offset.
value
- the center y offset.public final CmxColor[] getColors()
Gets the colors.
public final void setColors(CmxColor[] value)
Sets the colors.
value
- the colors.public final int getEdgeOffset()
Gets the edge offset.
public final void setEdgeOffset(int value)
Sets the edge offset.
value
- the edge offset.public final int getMode()
Gets the mode.
public final void setMode(int value)
Sets the mode.
value
- the mode.public final float[] getOffsets()
Gets the offsets.
public final void setOffsets(float[] value)
Sets the offsets.
value
- the offsets.public final int getRateMethod()
Gets the rate method.
public final void setRateMethod(int value)
Sets the rate method.
value
- the rate method.public final int getRateValue()
Gets the rate value.
public final void setRateValue(int value)
Sets the rate value.
value
- the rate value.public final int getScreen()
Gets the screen.
public final void setScreen(int value)
Sets the screen.
value
- the screen.public final int getSteps()
Gets the steps.
public final void setSteps(int value)
Sets the steps.
value
- the steps.public final int getType()
Gets the type.
public final void setType(int value)
Sets the type.
value
- the type.