Java Platform 1.2

Uses of Class
java.awt.color.ColorSpace

Packages that use ColorSpace
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.color Provides classes for color spaces. 
java.awt.image Provides classes for creating and modifying images. 
 

Uses of ColorSpace in java.awt
 

Methods in java.awt that return ColorSpace
 ColorSpace Color.getColorSpace()
          Returns the ColorSpace of the Color.
 

Methods in java.awt with parameters of type ColorSpace
 float[] Color.getComponents(ColorSpace cspace, float[] compArray)
          Returns a float array containing the color and alpha components of the Color, in the ColorSpace specified by the cspace parameter.
 float[] Color.getColorComponents(ColorSpace cspace, float[] compArray)
          Returns a float array containing the color components (no alpha) of the Color, in the ColorSpace specified by the cspace parameter.
 

Constructors in java.awt with parameters of type ColorSpace
Color.Color(ColorSpace cspace, float[] components, float alpha)
          Creates a color in the color space of the supplied ColorSpace with the color components specified in the float array and the specified alpha.
 

Uses of ColorSpace in java.awt.color
 

Subclasses of ColorSpace in java.awt.color
 class ICC_ColorSpace
          An implementation of the abstract ColorSpace class.
 

Methods in java.awt.color that return ColorSpace
static ColorSpace ColorSpace.getInstance(int colorspace)
          Returns a ColorSpace representing one of the specific predefined color spaces.
 

Uses of ColorSpace in java.awt.image
 

Methods in java.awt.image that return ColorSpace
 ColorSpace ColorModel.getColorSpace()
          Returns the ColorSpace associated with this ColorModel.
 

Constructors in java.awt.image with parameters of type ColorSpace
ColorModel.ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType)
          Constructs a ColorModel that translates pixel values to color/alpha components.
PackedColorModel.PackedColorModel(ColorSpace space, int bits, int[] colorMaskArray, int alphaMask, boolean isAlphaPremultiplied, int trans, int transferType)
          Constructs a PackedColorModel from a color mask array, which specifies which bits in an int pixel representation contain each of the color samples, and an alpha mask.
PackedColorModel.PackedColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int trans, int transferType)
          Constructs a PackedColorModel from the given masks specifying which bits in an int pixel representation contain the alpha, red, green and blue color samples.
ColorConvertOp.ColorConvertOp(ColorSpace cspace, RenderingHints hints)
          Constructs a new ColorConvertOp from a ColorSpace object.
ColorConvertOp.ColorConvertOp(ColorSpace srcCspace, ColorSpace dstCspace, RenderingHints hints)
          Constructs a new ColorConvertOp from two ColorSpace objects.
DirectColorModel.DirectColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType)
          Constructs a DirectColorModel from the specified parameters.
ComponentColorModel.ComponentColorModel(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType)
          Constructs a ComponentColorModel from the specified parameters.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.