MonobjcMonobjc Documented Class Library
ClipRect Method (aRect)

Intersects the specified rectangle with the clipping path of the current graphics context and makes the resulting shape the current clipping path

Original signature is '+ (void)clipRect:(NSRect)aRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void ClipRect(
	NSRect aRect
Public Shared Sub ClipRect ( _
	aRect As NSRect _
static void ClipRect(
	NSRect aRect
aRect (NSRect)
The rectangle to intersect with the current clipping path.
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)