Lines Matching refs:ColorSpace

51  * defined by each ColorSpace.  For many ColorSpaces (e.g. sRGB), this
67 * particular implementations of subclasses of ColorSpace (e.g.
98 public abstract class ColorSpace implements java.io.Serializable {
107 private static ColorSpace sRGBspace;
108 private static ColorSpace XYZspace;
109 private static ColorSpace PYCCspace;
110 private static ColorSpace GRAYspace;
111 private static ColorSpace LINEAR_RGBspace;
269 * Constructs a ColorSpace object given a color space type
271 * @param type one of the <CODE>ColorSpace</CODE> type constants
274 protected ColorSpace (int type, int numcomponents) {
281 * Returns a ColorSpace representing one of the specific
286 * @return the requested <CODE>ColorSpace</CODE> object
290 public static ColorSpace getInstance (int colorspace)
292 ColorSpace theColorSpace;
296 synchronized(ColorSpace.class) {
307 synchronized(ColorSpace.class) {
319 synchronized(ColorSpace.class) {
331 synchronized(ColorSpace.class) {
345 synchronized(ColorSpace.class) {
368 * Returns true if the ColorSpace is CS_sRGB.
378 * Transforms a color value assumed to be in this ColorSpace
393 * of components in this ColorSpace
396 * at least the number of components in this ColorSpace
403 * color space into this ColorSpace.
418 * components in this ColorSpace
426 * Transforms a color value assumed to be in this ColorSpace
444 * of components in this ColorSpace
447 * at least the number of components in this ColorSpace.
454 * color space into this ColorSpace.
473 * components in this ColorSpace
480 * Returns the color space type of this ColorSpace (for example
489 * <CODE>ColorSpace</CODE>
496 * Returns the number of components of this ColorSpace.
497 * @return The number of components in this <CODE>ColorSpace</CODE>.
520 case ColorSpace.TYPE_XYZ:
523 case ColorSpace.TYPE_Lab:
526 case ColorSpace.TYPE_Luv:
529 case ColorSpace.TYPE_YCbCr:
532 case ColorSpace.TYPE_Yxy:
535 case ColorSpace.TYPE_RGB:
538 case ColorSpace.TYPE_GRAY:
541 case ColorSpace.TYPE_HSV:
544 case ColorSpace.TYPE_HLS:
548 case ColorSpace.TYPE_CMYK:
552 case ColorSpace.TYPE_CMY:
608 static boolean isCS_CIEXYZ(ColorSpace cspace) {