Export (0) Print
Expand All
a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

patternContentUnits attribute | patternContentUnits property

Gets or sets the patternContentUnits property on the given pattern element, defining the coordinate system for the contents of the pattern element.

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

Syntax

HTML
<element patternContentUnits="p" ... >
JavaScript
p = object.patternContentUnits

Property values

Type: Object

An SVGAnimatedEnumeration object that defines the user coordinate system for the contents of the pattern element. This parameter can contain one of the following values:

Standards information

Remarks

The patternContentUnits property uses one of the constants that are defined in the ISVGUnitTypes enumeration.

Note  This property has no effect if you specify the viewBox attribute.

You can animate this property.

See also

SVGPatternElement

 

 

Show:
© 2014 Microsoft