MonobjcMonobjc Documented Class Library
ColorWithPatternImage Method (image)
NamespacesMonobjc.AppKitNSColorColorWithPatternImage(NSImage)

Creates and returns an NSColor object that uses the specified image pattern.

Original signature is '+ (NSColor *)colorWithPatternImage:(NSImage *)image'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSColor ColorWithPatternImage(
	NSImage image
)
Public Shared Function ColorWithPatternImage ( _
	image As NSImage _
) As NSColor
public:
static NSColor^ ColorWithPatternImage(
	NSImage^ image
)
Parameters
image (NSImage)
The image to use as the pattern for the color object. The image is tiled starting at the bottom of the window. The image is not scaled.
Return Value
The NSColor object. This color object is autoreleased.
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)