Contents

clip(_:)

Intersects the specified rectangle with the clipping path of the current graphics context and makes the resulting shape the current clipping path.

Declaration

class func clip(_ rect: NSRect)

Parameters

  • rect:

    The rectangle to intersect with the current clipping path.

See Also

Specifying a Clipping Path