Class

RemotePathNode.RelativeQuadTo

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public data class RelativeQuadTo(
        val dx1: RemoteFloat,
        val dy1: RemoteFloat,
        val dx2: RemoteFloat,
        val dy2: RemoteFloat,
    ) : RemotePathNode(isQuad = true)

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

Parameters

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