MonobjcMonobjc Documented Class Library
DrawRect Method (aRect)
NamespacesMonobjc.AppKitNSRulerMarkerDrawRect(NSRect)

Draws the receiver’s image that appears in the supplied rectangle.

Original signature is '- (void)drawRect:(NSRect)aRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawRect(
	NSRect aRect
)
Public Overridable Sub DrawRect ( _
	aRect As NSRect _
)
public:
virtual void DrawRect(
	NSRect aRect
)
Parameters
aRect (NSRect)
The rectangle to be drawn, in the ruler view's coordinate system.
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)