The angle of the gradient in degrees if gradient type is linear.
Returns the fill color.
Used for path and circular gradients.
Fill type is always IFill.Type.Gradient.
Returns true if the fill has any visible styling
Sets the rotation
The angle
Optionaloptions: UpdateOptionsSet the fill color.
The color to set for the fill.
Optionaloptions: UpdateOptionsSets the focus area for the gradient.
The fill area.
Optionaloptions: UpdateOptionsSets the gradient type.
The gradient type.
Optionaloptions: UpdateOptionsSets the gradient stops.
The gradient stops.
Optionaloptions: UpdateOptionsReturns the fill as a set of css string that are suitable for css.
Optionalmode: CSSMode
The color rendering mode (see IColor.CSSMode): a boolean bakes that mode;
'adaptive' emits light-dark() so a light/dark flip needs no re-render. (Pattern fills bake
their SVG data-URI body regardless — a data-URI never sees the host color-scheme.)
Optionalsize: Size
Indicates the size of the area being filled.
Converts the gradient fill to a JSON representation.
A gradient fill, where colors transition across the area.