MonobjcMonobjc Documented Class Library
ColorWithString Method (representation)
NamespacesMonobjc.QuartzCoreCIColorColorWithString(NSString)

Creates a color object using the RGBA color component values specified by a string.

Original signature is '+ (CIColor *)colorWithString:(NSString *)representation'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIColor ColorWithString(
	NSString representation
)
Public Shared Function ColorWithString ( _
	representation As NSString _
) As CIColor
public:
static CIColor^ ColorWithString(
	NSString^ representation
)
Parameters
representation (NSString)
A string that is in one of the formats returned by the stringRepresentation method. For example, the string:
Return Value
A Core Image color object that represents an RGB color in the color space specified by the Quartz 2D constant kCGColorSpaceGenericRGB.
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)