Instance Property

isEmpty

A Boolean value indicating whether the path is empty.

Declaration

var isEmpty: Bool { get }

Discussion

The value of this property is true if the path contains no elements, or false if it contains at least one element.

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 currentPoint: NSPoint

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