Next Page > Hide TOC

CIColor Additions Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AppKit.framework
Availability
Available in Mac 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.

Tasks

Creating a CIColor 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
Declared In
NSColor.h

Next Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-05-23)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.