Abstract
Optional
stops: (Stop | [offset: number, color: string, opacity: number])[]Optional
options: GradientOptionsReadonly
_changeReadonly
change$Readonly
zzzhttps://www.w3.org/TR/SVG11/pservers.html#LinearGradientElementSpreadMethodAttribute for more information
Indicates how coordinate values are interpreted by the renderer.
https://www.w3.org/TR/SVG11/pservers.html#RadialGradientElementGradientUnitsAttribute for more information
Indicates to the ColorProvider that it is being used in one less fill or stroke property. The ColorProvider is expected to remove itself from the SVG defs element when no longer used.
Indicates to the ColorProvider that it is being used in one more fill or stroke property. The ColorProvider is expected to add itself to the SVG defs element when being used.
Provide the value that will be used in the fill
or stroke
attribute of the consuming element.
Usually url(#${this.id}) for gradients and textures but may be e.g. an rgb() or #RRGGBB value.
Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.