CIExyY
struct CIExyY : Hashable
The CIE xyY components of a color - luminance (Y) and chromaticity (x,y).
-
The x-axis chromaticity coordinate of the color, in the range [0, 1].
Declaration
Swift
public var x: CGFloat -
The y-axis chromaticity coordinate of the color, in the range [0, 1].
Declaration
Swift
public var y: CGFloat -
The luminance component of the color, in the range [0, 100].
Declaration
Swift
public var Y: CGFloat -
Initializes the CIE xyY components of a color - luminance (Y) and chromaticity (x,y).
Declaration
Swift
public init(x: CGFloat, y: CGFloat, Y: CGFloat)Parameters
xThe x-axis chromaticity coordinate of the color, in the range [0, 1].
yThe y-axis chromaticity coordinate of the color, in the range [0, 1].
YThe luminance component of the color, in the range [0, 100].
View on GitHub
CIExyY Structure Reference