public class Chromaticities extends Object
x
and y
coordinates of the RGB triplets
(1,0,0), (0,1,0), (0,0,1) and (1,1,1).Modifier and Type | Field and Description |
---|---|
float |
blueX
CIE
x coordinate of the RGB triplet (0,0,1). |
float |
blueY
CIE
y coordinate of the RGB triplet (0,0,1). |
float |
greenX
CIE
x coordinate of the RGB triplet (0,1,0). |
float |
greenY
CIE
y coordinate of the RGB triplet (0,1,0). |
float |
redX
CIE
x coordinate of the RGB triplet (1,0,0). |
float |
redY
CIE
y coordinate of the RGB triplet (1,0,0). |
float |
whiteX
CIE
x coordinate of the RGB triplet (1,1,1). |
float |
whiteY
CIE
y coordinate of the RGB triplet (1,1,1). |
Constructor and Description |
---|
Chromaticities()
Construct a new
Chromaticities instance according to the
Rec. |
Chromaticities(Chromaticities other)
Constructs a new
Chromaticities instance with the same
CIE coordinates as other . |
Chromaticities(float redX,
float redY,
float greenX,
float greenY,
float blueX,
float blueY,
float whiteX,
float whiteY)
Constructs a new
Chromaticities instance with specific
CIE coordinates. |
public float redX
x
coordinate of the RGB triplet (1,0,0).public float redY
y
coordinate of the RGB triplet (1,0,0).public float greenX
x
coordinate of the RGB triplet (0,1,0).public float greenY
y
coordinate of the RGB triplet (0,1,0).public float blueX
x
coordinate of the RGB triplet (0,0,1).public float blueY
y
coordinate of the RGB triplet (0,0,1).public float whiteX
x
coordinate of the RGB triplet (1,1,1).public float whiteY
y
coordinate of the RGB triplet (1,1,1).public Chromaticities()
Chromaticities
instance according to the
Rec. ITU-R BT.709-3 primaries.public Chromaticities(Chromaticities other)
Chromaticities
instance with the same
CIE coordinates as other
.other
- a non-null Chromaticities
objectpublic Chromaticities(float redX, float redY, float greenX, float greenY, float blueX, float blueY, float whiteX, float whiteY)
Chromaticities
instance with specific
CIE coordinates.redX
- CIE x
coordinate of the RGB triplet (1,0,0)redY
- CIE y
coordinate of the RGB triplet (1,0,0)greenX
- CIE x
coordinate of the RGB triplet (0,1,0)greenY
- CIE y
coordinate of the RGB triplet (0,1,0)blueX
- CIE x
coordinate of the RGB triplet (0,0,1)blueY
- CIE y
coordinate of the RGB triplet (0,0,1)whiteX
- CIE x
coordinate of the RGB triplet (1,1,1)whiteY
- CIE y
coordinate of the RGB triplet (1,1,1)public boolean equals(Object obj)
true
if and only if the argument is not null
, is a
Chromaticities
object and all their CIE coordinates are the same.public int hashCode()