Class

PathNode.HorizontalTo

Draws a horizontal line from the current point to the specified absolute x-coordinate.

Source set: Common
public data class HorizontalTo(public val x: Float) : PathNode()

Draws a horizontal line from the current point to the specified absolute x-coordinate. Corresponds to the H path data command.

Parameters

x The absolute x-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: