OdGradientBrush
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush
public class OdGradientBrush extends OdBrush
The gradient fill
Constructors
Constructor | Description |
---|---|
OdGradientBrush() |
Methods
Method | Description |
---|---|
getGradientStyle() | Gets the gradient style. |
setGradientStyle(int value) | Sets the gradient style. |
getStartColor() | Gets the start color. |
setStartColor(int value) | Sets the start color. |
getEndColor() | Gets the end color. |
setEndColor(int value) | Sets the end color. |
getAngle() | Gets the angle. |
setAngle(float value) | Sets the angle. |
getBrushStyle() | Gets the style. |
deepClone() | Clone this instance. |
OdGradientBrush()
public OdGradientBrush()
getGradientStyle()
public final int getGradientStyle()
Gets the gradient style.
Returns: int - the gradient style.
setGradientStyle(int value)
public final void setGradientStyle(int value)
Sets the gradient style.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the gradient style. |
getStartColor()
public final int getStartColor()
Gets the start color.
Returns: int - the start color.
setStartColor(int value)
public final void setStartColor(int value)
Sets the start color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the start color. |
getEndColor()
public final int getEndColor()
Gets the end color.
Returns: int - the end color.
setEndColor(int value)
public final void setEndColor(int value)
Sets the end color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the end color. |
getAngle()
public final float getAngle()
Gets the angle.
Returns: float - the angle.
setAngle(float value)
public final void setAngle(float value)
Sets the angle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | the angle. |
getBrushStyle()
public int getBrushStyle()
Gets the style.
Returns: int - the style.
deepClone()
public Object deepClone()
Clone this instance.
Returns: java.lang.Object - The return new instance of source brush