YPbPr
struct YPbPr : Hashable
The Y′PbPr components of a color - luma (Y′) and chroma (Pb,Pr).
-
The luma component of the color, in the range 0, 1.
Declaration
Swift
public var Y: CGFloat
-
The blue-difference chroma component of the color, in the range [-0.5, 0.5].
Declaration
Swift
public var Pb: CGFloat
-
The red-difference chroma component of the color, in the range [-0.5, 0.5].
Declaration
Swift
public var Pr: CGFloat
-
Initializes the Y′PbPr components of a color - luma (Y′) and chroma (Pb,Pr).
Parameters
Y
The luma component of the color, in the range 0, 1.
Pb
The blue-difference chroma component of the color, in the range [-0.5, 0.5].
Pr
The red-difference chroma component of the color, in the range [-0.5, 0.5].