🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

PathNode.QuadTo

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

Source set: Common
public data class QuadTo(
        public val x1: Float,
        public val y1: Float,
        public val x2: Float,
        public val y2: Float,
    ) : PathNode(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.