Initializes a newly allocated CIColor object using an NSColor object.
Original signature is '- (id)initWithColor:(NSColor *)color'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Return Value
The resulting CIColor object, or nil if the object cannot be initialized with the specified value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type CIColor. When you use instance method syntax to call this method, omit the first parameter.
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)