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
addArc(center:radius:startAngle:endAngle:clockwise:transform:)addArc(tangent1End:tangent2End:radius:transform:)addCurve(to:control1:control2:)addEllipse(in:transform:)addLine(to:)addLines(_:)addPath(_:transform:)addQuadCurve(to:control:)addRect(_:transform:)addRects(_:transform:)addRelativeArc(center:radius:startAngle:delta:transform:)addRoundedRect(in:cornerSize:style:transform:)closeSubpath()