MonobjcMonobjc Documented Class Library
DrawingRectForBounds Method (theRect)
NamespacesMonobjc.AppKitNSCellDrawingRectForBounds(NSRect)

Returns the rectangle within which the receiver draws itself

Original signature is '- (NSRect)drawingRectForBounds:(NSRect)theRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect DrawingRectForBounds(
	NSRect theRect
)
Public Overridable Function DrawingRectForBounds ( _
	theRect As NSRect _
) As NSRect
public:
virtual NSRect DrawingRectForBounds(
	NSRect theRect
)
Parameters
theRect (NSRect)
The bounding rectangle of the receiver.
Return Value
The rectangle in which the receiver draws itself. This rectangle is slightly inset from the one in theRect.
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)