Class

PathNode.RelativeCurveTo

Draws a cubic Bézier curve from the current point to a new point using relative coordinates.

Common
data class RelativeCurveTo(
        val dx1: Float,
        val dy1: Float,
        val dx2: Float,
        val dy2: Float,
        val dx3: Float,
        val dy3: Float,
    ) : PathNode(isCurve = true)

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

Parameters

dx1 The relative x-offset of the first control point.
dy1 The relative y-offset of the first control point.
dx2 The relative x-offset of the second control point.
dy2 The relative y-offset of the second control point.
dx3 The relative x-offset of the curve's end point.
dy3 The relative y-offset of the curve's end point.