PathNode.RelativeCurveTo


Draws a cubic Bézier curve from the current point to a new point using relative coordinates. Corresponds to the c path data command.

Summary

Public constructors

RelativeCurveTo(
    dx1: Float,
    dy1: Float,
    dx2: Float,
    dy2: Float,
    dx3: Float,
    dy3: Float
)
Cmn

Public properties

Float

The relative x-offset of the first control point.

Cmn
Float

The relative x-offset of the second control point.

Cmn
Float

The relative x-offset of the curve's end point.

Cmn
Float

The relative y-offset of the first control point.

Cmn
Float

The relative y-offset of the second control point.

Cmn
Float

The relative y-offset of the curve'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

RelativeCurveTo

RelativeCurveTo(
    dx1: Float,
    dy1: Float,
    dx2: Float,
    dy2: Float,
    dx3: Float,
    dy3: Float
)
Parameters
dx1: Float

The relative x-offset of the first control point.

dy1: Float

The relative y-offset of the first control point.

dx2: Float

The relative x-offset of the second control point.

dy2: Float

The relative y-offset of the second control point.

dx3: Float

The relative x-offset of the curve's end point.

dy3: Float

The relative y-offset of the curve's end point.

Public properties

dx1

val dx1Float

The relative x-offset of the first control point.

dx2

val dx2Float

The relative x-offset of the second control point.

dx3

val dx3Float

The relative x-offset of the curve's end point.

dy1

val dy1Float

The relative y-offset of the first control point.

dy2

val dy2Float

The relative y-offset of the second control point.

dy3

val dy3Float

The relative y-offset of the curve's end point.