MonobjcMonobjc Documented Class Library
DrawSwatchInRect Method (rect)
NamespacesMonobjc.AppKitNSColorDrawSwatchInRect(NSRect)

Draws the current color in the given rectangle.

Original signature is '- (void)drawSwatchInRect:(NSRect)rect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawSwatchInRect(
	NSRect rect
)
Public Overridable Sub DrawSwatchInRect ( _
	rect As NSRect _
)
public:
virtual void DrawSwatchInRect(
	NSRect rect
)
Parameters
rect (NSRect)
The rectangle in which to draw the color.
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)