Class

PathNode.RelativeLineTo

Draws a line from the current point to a new point, defined by a relative offset.

Source set: Common
public data class RelativeLineTo(public val dx: Float, public val dy: Float) : PathNode()

Draws a line from the current point to a new point, defined by a relative offset. Corresponds to the l path data command.

Parameters

dx The relative change in the x-coordinate.
dy The relative change in the y-coordinate.
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: