Class

RemotePathNode.QuadTo

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

Source set: Android
public data class QuadTo(
        val x1: RemoteFloat,
        val y1: RemoteFloat,
        val x2: RemoteFloat,
        val y2: RemoteFloat,
    ) : RemotePathNode(isQuad = true)

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

Parameters

x1 The absolute x-coordinate of the control point.
y1 The absolute y-coordinate of the control point.
x2 The absolute x-coordinate of the curve's end point.
y2 The absolute y-coordinate of the curve's end point.

Last updated: