Fill.gradient
configurationDefines the gradient fill of the path.
fill.gradient
Objectfill.gradient.center
ArrayThe center of the radial gradient.
Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
fill.gradient.end
ArrayThe 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.
fill.gradient.radius
NumberThe radius of the radial gradient relative to the shape bounding box.
Default: 1
fill.gradient.start
ArrayThe 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.
fill.gradient.stops
ArrayThe array of gradient color stops.
fill.gradient.type
StringThe type of the gradient. Supported values are:
- linear
- radial
Default: "linear"