PathNode.LineTo


Draws a line from the current point to the specified absolute (x,y) coordinate. Corresponds to the L path data command.

Summary

Public constructors

LineTo(x: Float, y: Float)
Cmn

Public properties

Float

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

Cmn
Float

The absolute y-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

LineTo

LineTo(x: Float, y: Float)
Parameters
x: Float

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

y: Float

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

Public properties

x

val xFloat

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

y

val yFloat

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