Contents

NSEraseRect(_:)

Erases the specified rect by filling it with white.

Declaration

func NSEraseRect(_ rect: NSRect)

Parameters

  • rect:

    The rectangle (in the current coordinate system) defining the area to erase.

Discussion

This function fills the specified rectangle with white. It does not alter the current color.

See Also

Drawing Rectangles