Contents

init(CIColor:)

Creates 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.