Class

RemotePathNode.LineTo

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

Source set: JvmAndAndroid
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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: