Skip to content

API reference / Common / Engine types / PaintGradientFill

Interface: PaintGradientFill ​

A gradient fill (a:gradFill, CT_GradientFillProperties).

Properties ​

PropertyDescription
stops
PaintGradientStop[]
a:gsLst — the color stops, in ascending position order.
shade
PaintGradientShade
The a:lin / a:path choice: linear or path shading.
tileRect
PaintRelativeRect | null
a:tileRect — the tile bounds the gradient repeats within.
flip
PaintTileFlip
@flip — how the gradient mirrors as it tiles.
rotateWithShape
boolean | null
@rotWithShape — rotate the gradient with the shape.