Draw a line between the given points.
name | type | description |
---|---|---|
x1 | number |
The x coordinate of the start point of the line. |
y1 | number |
The y coordinate of the start point of the line. |
x2 | number |
The x coordinate of the end point of the line. |
y2 | number |
The y coordinate of the end point of the line. |
This Game Object.