GradientStop

GradientStop class

Represents a gradient format.

getColor

NameDescription
getColor()Returns the color of a gradient stop. Read-only IColorFormat.

Returns: ColorFormat


getPosition

NameDescription
getPosition()Returns or sets the position (0..1) of a gradient stop. Read/write float.

Returns: float


getVersion

NameDescription
getVersion()

Returns: long


setPosition

NameDescription
setPosition(float)Returns or sets the position (0..1) of a gradient stop. Read/write float.