CIExyY

struct CIExyY : Hashable

The CIE xyY components of a color - luminance (Y) and chromaticity (x,y).

  • x

    The x-axis chromaticity coordinate of the color, in the range [0, 1].

    Declaration

    Swift

    public var x: CGFloat
  • y

    The y-axis chromaticity coordinate of the color, in the range [0, 1].

    Declaration

    Swift

    public var y: CGFloat
  • Y

    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

    x

    The x-axis chromaticity coordinate of the color, in the range [0, 1].

    y

    The y-axis chromaticity coordinate of the color, in the range [0, 1].

    Y

    The luminance component of the color, in the range [0, 100].