GradientStop

GradientStop class

Represents a gradient format.

getColor

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

Result: ColorFormat


getPosition

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

Result: float


getVersion

NameDescription
getVersion ()

Result: long


setPosition

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