public class CdrGradient extends Object
The cdr gradient
Constructor and Description |
---|
CdrGradient()
Initializes a new instance of the
CdrGradient class. |
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Gets the angle.
|
int |
getCenterXOffset()
Gets the center x offset.
|
int |
getCenterYOffset()
Gets the center y offset.
|
int |
getEdgeOffset()
Gets the edge offset.
|
double |
getMidPoint()
Gets the mid point.
|
int |
getMode()
Gets the mode.
|
List<CdrGradientStop> |
getStops()
Gets the stops.
|
int |
getType()
Gets the type.
|
void |
setAngle(double value)
Sets the angle.
|
void |
setCenterXOffset(int value)
Sets the center x offset.
|
void |
setCenterYOffset(int value)
Sets the center y offset.
|
void |
setEdgeOffset(int value)
Sets the edge offset.
|
void |
setMidPoint(double value)
Sets the mid point.
|
void |
setMode(int value)
Sets the mode.
|
void |
setStops(List<CdrGradientStop> value)
Sets the stops.
|
void |
setType(int value)
Sets the type.
|
public CdrGradient()
Initializes a new instance of the CdrGradient
class.
public final int getType()
Gets the type.
public final void setType(int value)
Sets the type.
value
- the type.public final int getMode()
Gets the mode.
public final void setMode(int value)
Sets the mode.
value
- the mode.public final double getAngle()
Gets the angle.
public final void setAngle(double value)
Sets the angle.
value
- the angle.public final double getMidPoint()
Gets the mid point.
public final void setMidPoint(double value)
Sets the mid point.
value
- the mid point.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 getCenterXOffset()
Gets the center x offset.
public final void setCenterXOffset(int value)
Sets the center x offset.
value
- the center x offset.public final int getCenterYOffset()
Gets the center y offset.
public final void setCenterYOffset(int value)
Sets the center y offset.
value
- the center y offset.public final List<CdrGradientStop> getStops()
Gets the stops.
public final void setStops(List<CdrGradientStop> value)
Sets the stops.
value
- the stops.