Type Method

fillRect:

Fills the specified rectangular path with the current fill color.

Declaration

+ (void)fillRect:(NSRect)rect;

Parameters

aRect

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.

See Also

Drawing Paths

- stroke

Draws a line along the receiver’s path using the current stroke color and drawing attributes.

- fill

Paints the region enclosed by the receiver’s path.

+ strokeRect:

Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes.

+ strokeLineFromPoint:toPoint:

Strokes a line between two points using the current stroke color and the default drawing attributes.

+ drawPackedGlyphs:atPoint:

Draws a set of packed glyphs at the specified point in the current coordinate system.