drawBar(inside:flipped:)
Draws the slider’s bar—but not its bezel or knob—inside the specified rectangle.
Declaration
func drawBar(inside rect: NSRect, flipped: Bool)Parameters
- rect:
The bounds of the slider’s bar, not of its interior rectangle.
- flipped:
A Boolean value that indicates whether the cell’s control view—that is, the
NSSliderorNSMatrixassociated with theNSSliderCell—has a flipped coordinate system.
Discussion
You should not call this method explicitly. It’s included so you can override it in a subclass.