quadraticVertex

fun PShape.quadraticVertex(v2: Vector2, v3: Vector2)(source)

Adds a quadratic Bezier vertex to the shape. The method specifies control and anchor points for the curve using Vector2 instances.

Parameters

v2

The control point of the quadratic Bezier curve, used to define its curvature.

v3

The anchor point of the quadratic Bezier curve, which is the endpoint of the curve.