Skip to content

API reference / Common / Engine types / PaintGradientStop

Interface: PaintGradientStop ​

A gradient stop (a:gs, CT_GradientStop): a [PaintColor] at a position.

Properties ​

PropertyDescription
position
number
@pos — position along the gradient, a fraction 0.0..=1.0.
color
PaintColor
The stop's color child.