lineTo

inline fun lineTo(point: Point)

Adds a line from the last point to the specified point (x,y). If no moveTo children has been added to this Path, then the first point is automatically set to (0,0).

Parameters

point

The end point of a line