![]() |
VOOZH | about |
The patternContentUnits attribute is used to indicate which coordinate system must be used for the contents of the <pattern> element.
Syntax:
patternContentUnits ="userSpaceOnUse" // Or patternContentUnits ="objectBoundingBox"
Attribute Values: The patternContentUnits attribute accepts the values mentioned above and described below:
Note: Default value is userSpaceOnUse.
Example 1: Below is the example that illustrated the use of patternContentUnits attribute using objectBoundingBox value.
Output: Below is the output generated corresponding to the above code
Example 2: Below is the example that illustrated the use of patternContentUnits attribute using userSpaceOnUse value.
Output: Below is the output generated corresponding to the above code