PathNode.MoveTo


Starts a new subpath at the given absolute (x,y) coordinate. Corresponds to the M path data command.

Summary

Public constructors

MoveTo(x: Float, y: Float)
Cmn

Public properties

Float

The absolute x-coordinate to move to.

Cmn
Float

The absolute y-coordinate to move to.

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

MoveTo

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

The absolute x-coordinate to move to.

y: Float

The absolute y-coordinate to move to.

Public properties

x

val xFloat

The absolute x-coordinate to move to.

y

val yFloat

The absolute y-coordinate to move to.