Optional props: Partial<RadialGradientFillStyleProperties>Readonly ditheringIs dithering enabled.
Readonly extentThe extent for gradient.
Defines where the gradient takes it's size.
Readonly fillReadonly positionGradient center position.
A element relative coordinate. 0 to 1 coordinate space.
{ x: 0, y: 0 } is bottom left.
{ x: 1, y: 1 } is top right.
Readonly shapeThe shape for the gradient
Readonly stopsGradient color stops
Readonly typeGet the extent of the gradient
Get the shape of the gradient
Set color stops for the gradient.
All style object setter methods return a new object rather than modifying the current one.
Color Stops
Set the fill sub type of the gradient. Default is true.
All style object setter methods return a new object rather than modifying the current one.
Set the extent of the gradient.
All style object setter methods return a new object rather than modifying the current one.
Gradient Extent
Set the center position of the gradient.
All style object setter methods return a new object rather than modifying the current one.
Local XY coordinate in x: [0-1], y: [0-1] range
Set the shape of the gradient
All style object setter methods return a new object rather than modifying the current one.
Gradient Shape
Radial Gradient fill style.
Instances of RadialGradientFill are immutable, meaning that its setters don't modify the object, but instead return a completely new modified object.