Type Method

strokeRect:

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

Declaration

+ (void)strokeRect:(NSRect)rect;

Parameters

aRect

A rectangle in the current coordinate system.

Discussion

The path is drawn beginning at the rectangle’s origin and proceeding in a counterclockwise direction. This method strokes the specified path immediately.

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.

+ fillRect:

Fills the specified rectangular path with the current fill color.

+ 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.