public class xyz_Color extends ColorSpaceDescriptor
The name of this class has a superfluous underscore because Windows can't tell the difference between xyzColor and XYZColor.
Constructor and Description |
---|
xyz_Color(CIEColor that)
Creates a new instance of xyz_Color using the values in CIEColor.
|
xyz_Color(XYZColor that)
Constructor that creates an instance of xyz_Color by using the tristimulus
values in XYZColor.
|
Modifier and Type | Method and Description |
---|---|
double |
get_x()
Getter for the x chromaticity coordiante.
|
double |
get_y()
Getter for the y chromaticity coordiante.
|
double |
get_z()
Getter for the z chromaticity coordiante.
|
static ColorSpaceValue[] |
getColorSpaceValues()
Returns an array of ColorSpaceValue objects, each of which can be
displayed in a widget (e.g.
|
getAllColorSpaceDescriptors
public xyz_Color(XYZColor that)
that
- the XYZColor containing the tristimulus values.public xyz_Color(CIEColor that)
that
- the CIEColor object holding the tristimulus values to create
the xyz_Color space.public double get_x()
public double get_y()
public double get_z()
public static ColorSpaceValue[] getColorSpaceValues()
NOTE: do not change the name of this method without checking thoroughly for references to it. Other code will need to find this method by name at run-time given only a Class, so simple refactoring won't catch all references.
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.