fill(_:)
Fills the specified rectangular path with the current fill color.
Declaration
class func fill(_ rect: NSRect)Parameters
- rect:
A rectangle in the current coordinate system.
Discussion
This method fills the specified region immediately. This method uses the compositing operation returned by the compositingOperation method of NSGraphicsContext.