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.

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.5Internet Explorer 9

 

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

Remarks

See also

SVGPatternElement

 

 

Show: