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.
Creates a color from a Core Graphics color.
init(cgColor: CGColor)A Cgcolor instance from which to create a color.