CIColor Additions Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in OS X v10.4 and later. |
| Declared in | NSColor.h |
Overview
The Application Kit extends the Core Image frameworkâs CIColor class by adding the ability to create an instance of CIColor from an existing NSColor instance.
Instance Methods
initWithColor:
Initializes a newly allocated CIColor object using an NSColor object.
- (id)initWithColor:(NSColor *)color
Parameters
- color
The initial color value, which can belong to any available colorspace.
Return Value
The resulting CIColor object, or nil if the object cannot be initialized with the specified value.
Availability
- Available in OS X v10.4 and later.
Declared In
NSColor.h© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)