Contents

Path.Element.curve(to:control1:control2:)

A cubic Bézier curve from the previous current point to the given end-point, using the two control points to define the curve.

Declaration

case curve(to: CGPoint, control1: CGPoint, control2: CGPoint)

Discussion

The end-point of the curve becomes the new current point.

See Also

Getting path elements