y2 property
Gets or sets the y-coordinate for the end of a line.
![]() ![]() |
Syntax
| JavaScript |
|---|
p = object.y2 |
Property values
Type: Floating-point
The y-coordinate for the end of the line.
Standards information
- Scalable Vector Graphics: Basic Shapes, Section 9.8.4
Remarks
If you do not specify this property, the effect is the same as if you specify a value of 0.
See also
Show:

