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
YThe luma component of the color, in the full range 0, 255.
CbThe blue-difference chroma component of the color, in the full range [0, 255].
CrThe red-difference chroma component of the color, in the full range [0, 255].
View on GitHub
YCbCr Structure Reference