CmxGradient

Inheritance: java.lang.Object

public class CmxGradient

Represents a gradient info.

Constructors

ConstructorDescription
CmxGradient()

Methods

MethodDescription
getAngle()Gets the angle.
setAngle(float value)Sets the angle.
getCenterXOffset()Gets the center x offset.
setCenterXOffset(long value)Sets the center x offset.
getCenterYOffset()Gets the center y offset.
setCenterYOffset(long value)Sets the center y offset.
getColors()Gets the colors.
setColors(CmxColor[] value)Sets the colors.
getEdgeOffset()Gets the edge offset.
setEdgeOffset(int value)Sets the edge offset.
getMode()Gets the mode.
setMode(int value)Sets the mode.
getOffsets()Gets the offsets.
setOffsets(float[] value)Sets the offsets.
getRateMethod()Gets the rate method.
setRateMethod(int value)Sets the rate method.
getRateValue()Gets the rate value.
setRateValue(int value)Sets the rate value.
getScreen()Gets the screen.
setScreen(int value)Sets the screen.
getSteps()Gets the steps.
setSteps(int value)Sets the steps.
getType()Gets the type.
setType(int value)Sets the type.
toString()Returns a String that represents this instance.
equals(Object o)
hashCode()

CmxGradient()

public CmxGradient()

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.

getCenterXOffset()

public final long getCenterXOffset()

Gets the center x offset.

Returns: long - the center x offset.

setCenterXOffset(long value)

public final void setCenterXOffset(long value)

Sets the center x offset.

Parameters:

ParameterTypeDescription
valuelongthe center x offset.

getCenterYOffset()

public final long getCenterYOffset()

Gets the center y offset.

Returns: long - the center y offset.

setCenterYOffset(long value)

public final void setCenterYOffset(long value)

Sets the center y offset.

Parameters:

ParameterTypeDescription
valuelongthe center y offset.

getColors()

public final CmxColor[] getColors()

Gets the colors.

Returns: com.aspose.imaging.fileformats.cmx.objectmodel.styles.CmxColor[] - the colors.

setColors(CmxColor[] value)

public final void setColors(CmxColor[] value)

Sets the colors.

Parameters:

ParameterTypeDescription
valueCmxColor[]the colors.

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.

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.

getOffsets()

public final float[] getOffsets()

Gets the offsets.

Returns: float[] - the offsets.

setOffsets(float[] value)

public final void setOffsets(float[] value)

Sets the offsets.

Parameters:

ParameterTypeDescription
valuefloat[]the offsets.

getRateMethod()

public final int getRateMethod()

Gets the rate method.

Returns: int - the rate method.

setRateMethod(int value)

public final void setRateMethod(int value)

Sets the rate method.

Parameters:

ParameterTypeDescription
valueintthe rate method.

getRateValue()

public final int getRateValue()

Gets the rate value.

Returns: int - the rate value.

setRateValue(int value)

public final void setRateValue(int value)

Sets the rate value.

Parameters:

ParameterTypeDescription
valueintthe rate value.

getScreen()

public final int getScreen()

Gets the screen.

Returns: int - the screen.

setScreen(int value)

public final void setScreen(int value)

Sets the screen.

Parameters:

ParameterTypeDescription
valueintthe screen.

getSteps()

public final int getSteps()

Gets the steps.

Returns: int - the steps.

setSteps(int value)

public final void setSteps(int value)

Sets the steps.

Parameters:

ParameterTypeDescription
valueintthe steps.

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.

toString()

public String toString()

Returns a String that represents this instance.

Returns: java.lang.String - A String that represents this instance.

equals(Object o)

public boolean equals(Object o)

Parameters:

ParameterTypeDescription
ojava.lang.Object

Returns: boolean

hashCode()

public int hashCode()

Returns: int