Contents

init(cgColor:)

Creates a color from a Core Graphics color.

Declaration

init(cgColor: CGColor)

Parameters

  • cgColor:

    A Cgcolor instance from which to create a color.

See Also

Creating a color from another color