PatternElementPatternUnitsAttribute: patternUnits

Description Available Attribute Values Used by the Elements

Description

Governs whether the pattern coordinate for x, y, width, and height are to be interpreted as fractions of the bounding box or to be inherited from the user space. objectBoundingBox or userSpaceOnUse.

Available Attribute Values

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

'userSpaceOnUse'

Specifies that the units for pattern element attribute values for 'x', 'y', 'width' and 'height' are derived from user coordinate system effective at the time of the pattern element referencing.

'objectBoundingBox'

Specifies that the units for pattern element attribute values for 'x', 'y', 'width' and 'height' are given in terms of fractions or percentages of the bounding box of the object to which the pattern is being applied. (Default)

Used by the Elements

Non-structural Container Elements

pattern


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