ShapeDefaults.fill.gradient
configurationDefines the gradient fill of the shape.
The center of the radial gradient.
The coordinates are relative to the shape-bounding box.
For example, [0, 0] is top left and [1, 1] is bottom right.
The end point of the linear gradient.
Coordinates are relative to the shape bounding box.
For example, [0, 0] is top left and [1, 1] is bottom right.
The radius of the radial gradient relative to the shape bounding box.
Default: 1
The start point of the linear gradient.
Coordinates are relative to the shape bounding box.
For example, [0, 0] is top left and [1, 1] is bottom right.
The array of gradient color stops.
The type of the gradient. The supported values are:
- linear
- radial
Default: "linear"