x2 property

Gets or sets the x-coordinate for the end of a line.

Scalable Vector Graphics: Basic Shapes, Section 9.8.4Internet Explorer 9

 

Syntax

JavaScript
p = object.x2

 

Property values

Type: Floating-point

The x-coordinate for the end of the line.

Standards information

Remarks

If you do not specify this property, the effect is the same as if you specify a value of 0.

See also

SVGLineElement

 

 

Show: