Instance Property

currentPoint

The receiver’s current point (the trailing point or ending point in the most recently added segment).

Declaration

var currentPoint: NSPoint { get }

Discussion

This property contains the point from which the next drawn line or curve segment begins. If the path is empty, accessing this property raises genericException.

See Also

Querying Paths

var bounds: NSRect

The bounding box of the receiver’s path

var controlPointBounds: NSRect

The bounding box of the receiver’s path, including any control points

var isEmpty: Bool

A Boolean value indicating whether the path is empty.