Path.line()

The Path.line() method draws a straight line from the current position to a given point.

Signature

Javascript
Path path.line(Point to)
TIP|

This method is chainable as it returns the Path object

Example

Path.line()