NSRectFill
Fills the passed rectangle with the current color.
Declaration
extern void NSRectFill(NSRect rect);Parameters
- rect:
The bounding rectangle (in the current coordinate system) in which to draw.
Discussion
Fills aRect with the current color using the compositing mode NSCompositingOperation.copy, which fills with the current color by copying the RGBA values. Use NSRectFillUsingOperation to fill specifying a compositing mode.
For more information, see NSCompositingOperation.