patternUnits attribute | patternUnits property
Gets or sets the patternUnits property on the given pattern element, defining the coordinate system for attributes x, y, width and height.
![]() ![]() |
Syntax
| HTML |
|---|
<element patternUnits="p" ... > |
| JavaScript |
|---|
p = object.patternUnits |
Property values
Type: Object
An SVGAnimatedEnumeration object defines the user coordinate system for the x, y, width and height properties. This parameter can contain one of the following values:
Standards information
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.5
Remarks
See also
Show:

