RadialGradientOptions
Configuration options for a radial color gradient.
center?
Point | number[]
The center of the gradient. Coordinates are relative to the shape bounding box. For example, [0, 0]
is top left and [1, 1]
is bottom right.
name?
string
An optional name for the gradient.
radius?
number
(default: 1) The radius of the radial gradient relative to the shape bounding box.
stops?
The color stops of the gradient.