Instance Method

titleRectForContentRect:

Returns the rectangle in which the receiver draws its title.

Declaration

- (CGRect)titleRectForContentRect:(CGRect)contentRect;

Parameters

contentRect

The content rectangle for the receiver.

Return Value

The rectangle in which the receiver draws its title.

See Also

Getting Dimensions

- backgroundRectForBounds:

Returns the rectangle in which the receiver draws its background.

- contentRectForBounds:

Returns the rectangle in which the receiver draws its entire content.

- imageRectForContentRect:

Returns the rectangle in which the receiver draws its image.