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

x2 attribute | x2 property

Gets or sets the absolute or relative x-coordinate for the second control point.

Scalable Vector Graphics (SVG) 1.1, Appendix MInternet Explorer 9

Syntax

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

Property values

Type: Floating-point

The absolute or relative x-coordinate for the second control point.

Exceptions

ExceptionCondition
NoModificationAllowedError

An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned.

Standards information

Remarks

The x2 property represents a relative coordinate for lowercase path commands (for example, q and c), and an absolute coordinate for uppercase path commands (for example, Q and C.)

See also

SVGPathSegCurvetoCubicAbs
SVGPathSegCurvetoCubicRel
SVGPathSegCurvetoCubicSmoothAbs
SVGPathSegCurvetoCubicSmoothRel

 

 

Show:
© 2014 Microsoft