SmoothCurveTo

internal struct SmoothCurveTo : PathCommand

The PathCommand that corresponds to the SVG S or s command

  • Shortcut cubic Bezier curve to that add a new path ending up at CGPoint(self.coordinateBuffer[0], self.coordinateBuffer[1]) with a single control point in the middle.

    Declaration

    Swift

    internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil)