Initializer

init(ciColor:)

Creates a color object that encapsulates a Core Image color.

Declaration

init(ciColor: CIColor)

Parameters

ciColor

The Core Image color to convert.

Return Value

An initialized color object.

See Also

Creating a Color from Another Color Object

init(cgColor: CGColor)

Creates a color object using the specified Quartz color reference.

func withAlphaComponent(CGFloat) -> UIColor

Creates a color object that has the same color space and component values as the receiver, but has the specified alpha component.