Common parameters for gradient elements, <linearGradient> and <radialGradient>.
When this component is present, either LinearGradientComponent or RadialGradientComponent must be present.
| Class Members |
|
optional< GradientUnits > |
gradientUnits |
The parsed value of the "gradientUnits" attribute, which specifies how the coordinate system for linear/radial gradient positional attributes (such as x1, y1, cx, cy). Empty if no attribute was specified. |
|
optional< Reference > |
href |
The parsed value of the "href" attribute, which specifies a reference to a gradient element to inherit from. |
|
optional< GradientSpreadMethod > |
spreadMethod |
The parsed value of the "spreadMethod" attribute, which specifies how the gradient is repeated on its edges (such as spread, reflect, or repeat). Empty if no attribute was specified. |