GradientStop
GradientStop class
Represents a gradient format.
getColor
Name | Description |
---|---|
getColor() | Returns the color of a gradient stop. Read-only IColorFormat. |
Returns: ColorFormat
getPosition
Name | Description |
---|---|
getPosition() | Returns or sets the position (0..1) of a gradient stop. Read/write float. |
Returns: float
getVersion
Name | Description |
---|---|
getVersion() |
Returns: long
setPosition
Name | Description |
---|---|
setPosition(float) | Returns or sets the position (0..1) of a gradient stop. Read/write float. |