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

currentScale property

Gets or sets the current scale factor, relative to the initial view (when this property is called from an outermost svg element.

Scalable Vector Graphics: Document Structure, Section 5.11.2Internet Explorer 9

Syntax

JavaScript
p = object.currentScale

Property values

Type: Floating-point

The current scale factor, relative to the initial view.

Standards information

Remarks

The outermost svg element is the furthest ancestor svg element in the current document fragment.

When the currentScale property is called on an element other than the outermost svg element, this property's behavior is undefined.

See also

SVGSVGElement

 

 

Show:
© 2014 Microsoft