Share via


ColorModel Members

Class Overview | This Package | All Packages

Fields

Name Description
pixel_bits  

Constructors

Name Description
ColorModel(int) Constructs a ColorModel which describes a pixel of the specified number of bits.

Methods

Name Description
finalize() Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
getAlpha(int) The subclass must provide a function which provides the alpha color compoment for the specified pixel.
getBlue(int) The subclass must provide a function which provides the blue color compoment for the specified pixel.
getGreen(int) The subclass must provide a function which provides the green color compoment for the specified pixel.
getPixelSize() Returns the number of bits per pixel described by this ColorModel.
getRed(int) The subclass must provide a function which provides the red color compoment for the specified pixel.
getRGB(int) Returns the color of the pixel in the default RGB color model.
getRGBdefault() Return a ColorModel which describes the default format for integer RGB values used throughout the AWT image interfaces.