Initializer

init(ciColor:)

Creates a a color object from the specified Core Image color.

Declaration

init(ciColor color: CIColor)

Parameters

color

The Core Image color to convert.

Return Value

The NSColor object corresponding to the specified Core Image color.

Discussion

The method raises if the color space and components associated with color are nil or invalid.

See Also

Converting Other Types of Color Objects

init?(cgColor: CGColor)

Creates a color object using the specified Core Graphics color.