Instance Method

drawBezelWithFrame:inView:

Draws the border of the button using the current bezel style.

Declaration

- (void)drawBezelWithFrame:(NSRect)frame inView:(NSView *)controlView;

Parameters

frame

The bounding rectangle of the button.

controlView

The control being drawn.

Discussion

This method is called automatically when the button is redrawn; you should not call it directly.

See Also

Drawing the Button Content

- drawImage:withFrame:inView:

Draws the image associated with the button’s current state.

- drawTitle:withFrame:inView:

Draws the button’s title centered vertically in a specified rectangle.