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

x1 attribute | x1 property

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

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

Syntax

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

Property values

Type: Floating-point

The absolute or relative x-coordinate for the first 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 x1 property represents a relative coordinate for lowercase path commands (for example, q and c), and an absolute coordinate for uppercase path commands Q and C.)

See also

SVGPathSegCurvetoCubicAbs
SVGPathSegCurvetoCubicRel
SVGPathSegCurvetoQuadraticAbs
SVGPathSegCurvetoQuadraticRel

 

 

Show:
© 2014 Microsoft