Appearance
Interface: GradientFill ​
A gradient fill (a:gradFill), as read from a container — the stops plus the geometry that a bare stop list omits. linear gradients carry an GradientFill.angleDeg (the a:lin/@ang direction); radial/path gradients carry a GradientFill.path shape (a:path/@path, e.g. circle). The angle is in OOXML degrees (clockwise from 3 o'clock), the same convention the write-side GradientFillProps.angle expects, so it round-trips directly.
Properties ​
angleDeg ​
angleDeg:
number|null
Linear direction in OOXML degrees (clockwise from 3 o'clock), or null for a path gradient / when unset.
kind ​
kind:
"linear"|"path"|null
linear (a:lin) or path (a:path, i.e. radial/rectangular). null when neither child is present.
path ​
path:
string|null
Path-gradient shape (a:path/@path: circle/rect/shape), or null for a linear gradient.
stops ​
stops:
GradientStop[]
The gradient stops in document order.