Class

PathNode.LineTo

Draws a line from the current point to the specified absolute (x,y) coordinate.

Common
data class LineTo(val x: Float, val y: Float) : PathNode()

Draws a line from the current point to the specified absolute (x,y) coordinate. Corresponds to the L path data command.

Parameters

x The absolute x-coordinate of the line's end point.
y The absolute y-coordinate of the line's end point.