YCbCr
struct YCbCr : Hashable
The Y′CbCr components of a color - luma (Y′) and chroma (Cb,Cr).
-
The luma component of the color, in the full range 0, 255.
Declaration
Swift
public var Y: CGFloat
-
The blue-difference chroma component of the color, in the full range [0, 255].
Declaration
Swift
public var Cb: CGFloat
-
The red-difference chroma component of the color, in the full range [0, 255].
Declaration
Swift
public var Cr: CGFloat
-
Initializes the Y′CbCr components of a color - luma (Y′) and chroma (Cb,Cr).
Parameters
Y
The luma component of the color, in the full range 0, 255.
Cb
The blue-difference chroma component of the color, in the full range [0, 255].
Cr
The red-difference chroma component of the color, in the full range [0, 255].