y1 property

Gets or sets the y-coordinate for the start of a line.

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

 

Syntax

JavaScript
p = object.y1

 

Property values

Type: Floating-point

The y-coordinate for the start 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: