minimumValueImageRect(forBounds:)
Returns the drawing rectangle for the minimum value image.
Declaration
func minimumValueImageRect(forBounds bounds: CGRect) -> CGRectParameters
- bounds:
The bounding rectangle of the slider.
Return Value
The computed drawing rectangle for the image.
Discussion
You do not call this method directly. Instead, you override it when you want to customize the rectangle in which the minimum value image is drawn, returning a different rectangle. If you make x-axis adjustments, be sure to take into account the automatic flipping of minimumValueImage in a right-to-left user interface; the minimum image is always shown at the leading end of the slider’s track. See the Internationalization and Localization Guide for further information about supporting right-to-left languages.