Instance Method

drawRect:

Draws the receiver’s image that appears in the supplied rectangle.

Declaration

- (void)drawRect:(NSRect)rect;

Parameters

aRect

The rectangle to be drawn, in the ruler view's coordinate system.

See Also

Drawing and event handling

dragging

A Boolean that indicates whether the receiver is being dragged.

- trackMouse:adding:

Handles user manipulation of the receiver in its ruler view.