MonobjcMonobjc Documented Class Library
KnobRectFlipped Method (flipped)
NamespacesMonobjc.AppKitNSSliderCellKnobRectFlipped(Boolean)

Returns the rectangle in which the slider knob is drawn.

Original signature is '- (NSRect)knobRectFlipped:(BOOL)flipped'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect KnobRectFlipped(
	bool flipped
)
Public Overridable Function KnobRectFlipped ( _
	flipped As Boolean _
) As NSRect
public:
virtual NSRect KnobRectFlipped(
	bool flipped
)
Parameters
flipped (Boolean)
YES if the coordinate system of the associated NSSlider or NSMatrix is flipped; otherwise NO. You can determine whether this is the case by sending the NSView message isFlipped message to the NSMatrix or NSSlider.
Return Value
The rectangle in which the knob is drawn, specified in the coordinate system of the NSSlider or NSMatrix with which the receiver is associated. The knob rectangle depends on where in the slider the knob belongs—that is, it depends on the receiver’s minimum and maximum values and on the value the position of the knob will represent.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)