Class

RemotePathNode.LineTo

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public data class LineTo(val x: RemoteFloat, val y: RemoteFloat) : RemotePathNode()

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.