RadialGradientElementGradientUnitsAttribute: gradientUnits

Description Available Attribute Values Used by the Elements

Description

Governs whether to interpret the coordinates of cx, cy, r, fx, fy as either objectBoundingBox or userSpaceOnUse.

Available Attribute Values

The value can be either of the one of the following:

'userSpaceOnUse'

Specifies that 'cx', 'cy', 'r', 'fx' and 'fy' represent values in the user coordinate system in effect when the radial gradient element is referenced.

'objectBoundingBox'

Specifies that the user coordinate system for attributes 'cx', 'cy', 'r', 'fx' and 'fy' are given in terms of fractions (or percentages) of the bounding box of the target element to which the gradient is applied. In this case c(0, 0) is the coordinates of the upper left-hand corner of the bounding, and c(1, 0) is the coordinates of the lower right-hand corner of the bounding box. Default.

Used by the Elements

Gradient Elements

radialGradient


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.