CdrGradient

Inheritance: java.lang.Object

public class CdrGradient

The cdr gradient

Constructors

ConstructorDescription
CdrGradient()Initializes a new instance of the CdrGradient class.

Methods

MethodDescription
getType()Gets the type.
setType(int value)Sets the type.
getMode()Gets the mode.
setMode(int value)Sets the mode.
getAngle()Gets the angle.
setAngle(double value)Sets the angle.
getMidPoint()Gets the mid point.
setMidPoint(double value)Sets the mid point.
getEdgeOffset()Gets the edge offset.
setEdgeOffset(int value)Sets the edge offset.
getCenterXOffset()Gets the center x offset.
setCenterXOffset(int value)Sets the center x offset.
getCenterYOffset()Gets the center y offset.
setCenterYOffset(int value)Sets the center y offset.
getStops()Gets the stops.
setStops(List value)Sets the stops.

CdrGradient()

public CdrGradient()

Initializes a new instance of the CdrGradient class.

getType()

public final int getType()

Gets the type.

Returns: int - the type.

setType(int value)

public final void setType(int value)

Sets the type.

Parameters:

ParameterTypeDescription
valueintthe type.

getMode()

public final int getMode()

Gets the mode.

Returns: int - the mode.

setMode(int value)

public final void setMode(int value)

Sets the mode.

Parameters:

ParameterTypeDescription
valueintthe mode.

getAngle()

public final double getAngle()

Gets the angle.

Returns: double - the angle.

setAngle(double value)

public final void setAngle(double value)

Sets the angle.

Parameters:

ParameterTypeDescription
valuedoublethe angle.

getMidPoint()

public final double getMidPoint()

Gets the mid point.

Returns: double - the mid point.

setMidPoint(double value)

public final void setMidPoint(double value)

Sets the mid point.

Parameters:

ParameterTypeDescription
valuedoublethe mid point.

getEdgeOffset()

public final int getEdgeOffset()

Gets the edge offset.

Returns: int - the edge offset.

setEdgeOffset(int value)

public final void setEdgeOffset(int value)

Sets the edge offset.

Parameters:

ParameterTypeDescription
valueintthe edge offset.

getCenterXOffset()

public final int getCenterXOffset()

Gets the center x offset.

Returns: int - the center x offset.

setCenterXOffset(int value)

public final void setCenterXOffset(int value)

Sets the center x offset.

Parameters:

ParameterTypeDescription
valueintthe center x offset.

getCenterYOffset()

public final int getCenterYOffset()

Gets the center y offset.

Returns: int - the center y offset.

setCenterYOffset(int value)

public final void setCenterYOffset(int value)

Sets the center y offset.

Parameters:

ParameterTypeDescription
valueintthe center y offset.

getStops()

public final List<CdrGradientStop> getStops()

Gets the stops.

Returns: java.util.List<com.aspose.imaging.fileformats.cdr.types.CdrGradientStop> - the stops.

setStops(List value)

public final void setStops(List<CdrGradientStop> value)

Sets the stops.

Parameters:

ParameterTypeDescription
valuejava.util.List<com.aspose.imaging.fileformats.cdr.types.CdrGradientStop>the stops.