DirectColorModel.DirectColorModel
Class Overview | Class Members |
This Package |
All Packages
public DirectColorModel( int bits,
int rmask,
int gmask,
int bmask )
Description
Constructs a DirectColorModel from the given masks specifying
which bits in the pixel contain the red, green and blue color
components. Pixels described by this color model will all
have alpha components of 255 (fully opaque). All of the bits
in each mask must be contiguous and fit in the specified number
of least significant bits of the integer.
public DirectColorModel( int bits,
int rmask,
int gmask,
int bmask,
int amask )
Description
Constructs a DirectColorModel from the given masks specifying
which bits in the pixel contain the alhpa, red, green and blue
color components. All of the bits in each mask must be contiguous
and fit in the specified number of least significant bits of the
integer.