GradientStop
Inheritance: java.lang.Object, com.aspose.slides.PVIObject
All Implemented Interfaces: com.aspose.slides.IGradientStop
public final class GradientStop extends PVIObject implements IGradientStop
Represents a gradient format.
Methods
Method | Description |
---|---|
getVersion() | |
getPosition() | Returns or sets the position (0..1) of a gradient stop. |
setPosition(float value) | Returns or sets the position (0..1) of a gradient stop. |
getColor() | Returns the color of a gradient stop. |
getVersion()
public long getVersion()
Version. Read-only long.
Returns: long
getPosition()
public final float getPosition()
Returns or sets the position (0..1) of a gradient stop. Read/write float .
Returns: float
setPosition(float value)
public final void setPosition(float value)
Returns or sets the position (0..1) of a gradient stop. Read/write float .
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getColor()
public final IColorFormat getColor()
Returns the color of a gradient stop. Read-only IColorFormat.
Returns: IColorFormat