PathNode.HorizontalTo


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

Summary

Public constructors

Cmn

Public properties

Float

The absolute x-coordinate of the line's end point.

Cmn

Inherited properties

From androidx.compose.ui.graphics.vector.PathNode
Boolean

true if this command is a cubic Bézier curve, false otherwise.

Cmn
Boolean

true if this command is a quadratic Bézier curve, false otherwise.

Cmn

Public constructors

HorizontalTo

HorizontalTo(x: Float)
Parameters
x: Float

The absolute x-coordinate of the line's end point.

Public properties

x

val xFloat

The absolute x-coordinate of the line's end point.