MonobjcMonobjc Documented Class Library
DrawRect Method (dirtyRect)
NamespacesMonobjc.AppKitNSViewDrawRect(NSRect)

Overridden by subclasses to draw the receiver’s image within the passed-in rectangle.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawRect(
	NSRect dirtyRect
)
Public Overridable Sub DrawRect ( _
	dirtyRect As NSRect _
)
public:
virtual void DrawRect(
	NSRect dirtyRect
)
Parameters
dirtyRect (NSRect)
A rectangle defining the dirty area of the view that requires redrawing.
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)