volumeSliderRect(forBounds:)
Returns the drawing rectangle for the slider’s track.
Declaration
func volumeSliderRect(forBounds bounds: CGRect) -> CGRectParameters
- 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 system uses the rectangle to scale the track and thumb images during drawing.