Class

PathNode.RelativeHorizontalTo

Draws a horizontal line from the current point, offset by a relative distance dx.

Source set: Common
public data class RelativeHorizontalTo(public val dx: Float) : PathNode()

Draws a horizontal line from the current point, offset by a relative distance dx. Corresponds to the h path data command.

Parameters

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