Skip to content

API reference / Common / Engine types / GridGradientFill

Interface: GridGradientFill ​

A gradient fill — styleSheet/fills/fill/gradientFill (CT_GradientFill, §18.8.24). The attributes the schema gives a default hold it when absent.

Properties ​

PropertyDescription
kind
GridGradientType
styleSheet/fills/fill/gradientFill/@type — linear when absent.
degree
number
styleSheet/fills/fill/gradientFill/@degree — a linear gradient's angle, 0 when absent.
left
number
styleSheet/fills/fill/gradientFill/@left — a path gradient's inner rectangle, its left edge as a fraction of the cell, 0 when absent.
right
number
styleSheet/fills/fill/gradientFill/@right — the inner rectangle's right edge, 0 when absent.
top
number
styleSheet/fills/fill/gradientFill/@top — the inner rectangle's top edge, 0 when absent.
bottom
number
styleSheet/fills/fill/gradientFill/@bottom — the inner rectangle's bottom edge, 0 when absent.
stops
GridGradientStop[]
styleSheet/fills/fill/gradientFill/stop, in order.