Initializer

init(_:)

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 参照

Deprecated Initializers