MaskElementMaskUnitsAttribute: maskUnits

Description Available Attribute Values Used by the Elements

Description

Governs whether to interpret the coordinates x,y,width, height as objectBoundingBox or userSpaceOnUse

Available Attribute Values

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

'userSpaceOnUse'

Specifies that the coordinate system for the mask attributes 'x', 'y', 'width' and 'height' represent values are given in terms of the user coordinate system effective at the time of mask referencing.

'objectBoundingBox'

Specifies that the coordinate system for the mask attributes 'x', 'y', 'width' and 'height' are given in terms of fractions or percentages of the bounding box of the object to which the mask is applied. (Default)

Used by the Elements

Non-structural Container Elements

mask


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