Contents

move(to:)

Begins a new subpath at the specified point.

Declaration

mutating func move(to end: CGPoint)

Parameters

  • end:

    The point, in user space coordinates, at which to start a new subpath.

Discussion

The specified point becomes the start point of a new subpath. The current point is set to this start point.

See Also

Drawing a path