Sets the start and end coordinates of this Line.
name | type | arguments | description |
---|---|---|---|
x1 | number | <optional> |
The horizontal position of the start of the line. |
y1 | number | <optional> |
The vertical position of the start of the line. |
x2 | number | <optional> |
The horizontal position of the end of the line. |
y2 | number | <optional> |
The vertical position of the end of the line. |
This Line object.