Uses of Class java.awt.color.ColorSpace

Uses in package java.awt

Constructors with parameter type java.awt.color.ColorSpace

Color.Color(ColorSpace space, float[] components, float alpha)
Creates a color in the given ColorSpace with the specified alpha.

Methods with parameter type java.awt.color.ColorSpace

float[]
Color.getColorComponents(ColorSpace space, float[] array)
Returns a float array containing the color components of this color in the given ColorSpace.
float[]
Color.getComponents(ColorSpace space, float[] array)
Returns a float array containing the color and alpha components of this color in the given ColorSpace.

Methods with return type java.awt.color.ColorSpace

ColorSpace
Returns the color space of this color.

Uses in package javax.imageio

Methods with parameter type java.awt.color.ColorSpace

ImageTypeSpecifier
ImageTypeSpecifier.createBanded(ColorSpace colorSpace, int[] bankIndices, int[] bankOffsets, int dataType, boolean hasAlpha, boolean isAlphaPremultiplied)
Create an image type specifier for a banded image using a component color model and a banded sample model.
ImageTypeSpecifier
ImageTypeSpecifier.createInterleaved(ColorSpace colorSpace, int[] bandOffsets, int dataType, boolean hasAlpha, boolean isAlphaPremultiplied)
Create an image type specifier that uses a component colour model and a pixel interleaved sample model.
ImageTypeSpecifier
ImageTypeSpecifier.createPacked(ColorSpace colorSpace, int redMask, int greenMask, int blueMask, int alphaMask, int transferType, boolean isAlphaPremultiplied)
Create an image type specifier using a direct color model and a packed sample model.

Uses in package java.awt.image

Constructors with parameter type java.awt.color.ColorSpace

Convert a BufferedImage through a ColorSpace.
Convert from a source colorspace to a destination 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.
ComponentColorModel.ComponentColorModel(ColorSpace colorSpace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType)
Construct a new ComponentColorModel.
ComponentColorModel.ComponentColorModel(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType)
DirectColorModel.DirectColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType)
PackedColorModel.PackedColorModel(ColorSpace cspace, int pixelBits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transparency, int transferType)
PackedColorModel.PackedColorModel(ColorSpace cspace, int pixelBits, int[] colorMaskArray, int alphaMask, boolean isAlphaPremultiplied, int transparency, int transferType)

Methods with return type java.awt.color.ColorSpace

ColorSpace

Uses in package java.awt.color

Classes derived from java.awt.color.ColorSpace

class
ICC_ColorSpace - an implementation of ColorSpace While an ICC_Profile class abstracts the data in an ICC profile file an ICC_ColorSpace performs the color space conversions defined by an ICC_Profile instance.

Methods with return type java.awt.color.ColorSpace

ColorSpace
ColorSpace.getInstance(int colorspace)