line
Create a line between two points.
g.line({x: -75, y: -25}, {x: 75, y: 25})
Parameters
point1
: The starting point of the line.point2
: The ending point of the line.
See Also
- lineAngle: Create a line between a point and angle + distance.
Create a line between two points.
g.line({x: -75, y: -25}, {x: 75, y: 25})
point1
: The starting point of the line.point2
: The ending point of the line.