Skip to content

Interface: GradientStop ​

One stop of a gradient fill (a:gsLst/a:gs), as read from a shape.

Properties ​

colorRef ​

colorRef: ColorRef

The stop's colour, as written and resolved against the slide theme. Its resolved.effectiveHex is the rendered colour and resolved.alpha the stop's opacity, when an alpha* transform set one.


position ​

position: number | null

Stop offset along the gradient, 0–1 (from @pos, thousandths of a percent), or null if unset.