Initializer

init(ciColor:)

Initializes and returns 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 UIColor Object from another Representation of Color

init(cgColor: CGColor)

Initializes and returns a color object using the specified Quartz color reference.

func withAlphaComponent(CGFloat) -> UIColor

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