Instance Method

volumeSliderRectForBounds:

Returns the drawing rectangle for the slider’s track.

Declaration

- (CGRect)volumeSliderRectForBounds:(CGRect)bounds;

Parameters

bounds

The bounding rectangle of the receiver.

Return Value

The computed drawing rectangle for the volume slider track. This rectangle corresponds to the entire length of the track between the minimum and maximum value images.

Discussion

The returned rectangle is used to scale the track and thumb images during drawing.

See Also

Customizing the Volume Slider

- maximumVolumeSliderImageForState:

Returns the maximum volume image associated with the specified control state.

- minimumVolumeSliderImageForState:

Returns the minimum volume image associated with the specified control state.

- setMaximumVolumeSliderImage:forState:

Assigns a maximum volume slider image to the specified control states.

- setMinimumVolumeSliderImage:forState:

Assigns a minimum volume slider image to the specified control states.

- setVolumeThumbImage:forState:

Assigns a thumb image to the specified control states.

- volumeThumbImageForState:

Returns the thumb image associated with the specified control state.

- volumeThumbRectForBounds:volumeSliderRect:value:

Returns the drawing rectangle for the volume slider’s thumb image.

volumeWarningSliderImage

The image used to designate the European Union volume limit.