Readonly
angleReadonly
fillUsed for path and circular gradients
If null then the fill type will inherit.
Readonly
gradientThe type of gradient
GradientType.Linear
Readonly
stopsIf null then the fill type will inherit. This must be at least two stops
Return the fill as a set of css string that are suitable for css.
Optional
darkMode: booleanOptional
bounds: BoundsNot all fill styles will offer an exact css equivalent. Additionally due to the nature of css having different properties for the same logic value (for example color, backgroundColor)
The angle of the gradient in degrees if gradient type is linear