Contents

move(to:transform:)

Begins a new subpath at the specified point.

Declaration

func move(to point: CGPoint, transform: CGAffineTransform = .identity)

Parameters

  • point:

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

  • transform:

    An affine transform to apply to the point before adding to the path. Defaults to the identity transform if not specified.

Discussion

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

See Also

Constructing a Graphics Path