OdGradientBrush

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush

public class OdGradientBrush extends OdBrush

The gradient fill

Constructors

ConstructorDescription
OdGradientBrush()

Methods

MethodDescription
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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valueintthe 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:

ParameterTypeDescription
valuefloatthe 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