CMYK
struct CMYK : Hashable
The CMYK (cyan, magenta, yellow, black) components of a color, in the range [0, 100%].
-
The cyan component of the color, in the range [0, 100%].
Declaration
Swift
public var cyan: CGFloat -
The magenta component of the color, in the range [0, 100%].
Declaration
Swift
public var magenta: CGFloat -
The yellow component of the color, in the range [0, 100%].
Declaration
Swift
public var yellow: CGFloat -
The black component of the color, in the range [0, 100%].
Declaration
Swift
public var black: CGFloat -
Initializes the CMYK (cyan, magenta, yellow, black) components of a color, in the range [0, 100%].
Declaration
Swift
public init(cyan: CGFloat, magenta: CGFloat, yellow: CGFloat, black: CGFloat)Parameters
cyanThe cyan component of the color, in the range [0, 100%].
magentaThe magenta component of the color, in the range [0, 100%].
yellowThe yellow component of the color, in the range [0, 100%].
blackThe black component of the color, in the range [0, 100%].
View on GitHub
CMYK Structure Reference