Optional
props: Partial<RadialGradientFillStyleProperties>Readonly
extentThe extent for gradient.
Defines where the gradient takes it's size.
Readonly
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.
Color Stops
Set the extent of the gradient.
Gradient Extent
Set the center position of the gradient.
Local XY coordinate in x: [0-1], y: [0-1] range
Set the shape of the gradient
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.