Initializer

init(cgColor:)

Creates a color from a Core Graphics color.

Declaration 宣言

init(cgColor: CGColor)

Parameters パラメータ

color

A CGColor instance from which to create a color.

See Also 参照

Creating a Color from Another Color