CmxGradient
Inheritance: java.lang.Object
public class CmxGradient
Represents a gradient info.
Constructors
Constructor | Description |
---|---|
CmxGradient() |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | float | the 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:
Parameter | Type | Description |
---|---|---|
value | long | the 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:
Parameter | Type | Description |
---|---|---|
value | long | the 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:
Parameter | Type | Description |
---|---|---|
value | CmxColor[] | 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | float[] | 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the 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:
Parameter | Type | Description |
---|---|---|
o | java.lang.Object |
Returns: boolean
hashCode()
public int hashCode()
Returns: int