public class OdGradientBrush extends OdBrush
The gradient fill
Constructor and Description |
---|
OdGradientBrush() |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone this instance.
|
float |
getAngle()
Gets the angle.
|
int |
getBrushStyle()
Gets the style.
|
int |
getEndColor()
Gets the end color.
|
int |
getGradientStyle()
Gets the gradient style.
|
int |
getStartColor()
Gets the start color.
|
void |
setAngle(float value)
Sets the angle.
|
void |
setEndColor(int value)
Sets the end color.
|
void |
setGradientStyle(int value)
Sets the gradient style.
|
void |
setStartColor(int value)
Sets the start color.
|
public final int getGradientStyle()
Gets the gradient style.
public final void setGradientStyle(int value)
Sets the gradient style.
value
- the gradient style.public final int getStartColor()
Gets the start color.
public final void setStartColor(int value)
Sets the start color.
value
- the start color.public final int getEndColor()
Gets the end color.
public final void setEndColor(int value)
Sets the end color.
value
- the end color.public final float getAngle()
Gets the angle.
public final void setAngle(float value)
Sets the angle.
value
- the angle.public int getBrushStyle()
Gets the style.
getBrushStyle
in class OdBrush