Elements' Summary |
ScanLines |
Number of scanlines for this bitmap. |
ScanLineBytes |
Number of data bytes per scanline. |
ScanLineStride |
Byte offset between the start of two consecutive scanlines. |
PlaneStride |
Byte offset between the start of two consecutive planes. |
NumComponents |
Number of color components per pixel. |
ComponentMasks |
Mask values for packed bitmaps
This member contains NumComponents 64 bit masks, which can be
used to mask out the corresponding color component from the
bitmap data. For the typical 32 bit RGBA color data, the four
mask values would look like 0xFF000000, 0x00FF0000,
0x0000FF00, and 0x000000FF.
|
Endianness |
Endianness of the pixel values.
This value must be one of the Endianness constants
|
Format |
Format type of this bitmap. |
IsPseudoColor |
This member determines whether the bitmap data are actually
indices into a color map. |
Elements' Details |
ScanLines
long ScanLines;
- Description
- Number of scanlines for this bitmap.
|
|
ScanLineBytes
long ScanLineBytes;
- Description
- Number of data bytes per scanline.
|
|
ScanLineStride
long ScanLineStride;
- Description
- Byte offset between the start of two consecutive scanlines.
|
|
PlaneStride
long PlaneStride;
- Description
- Byte offset between the start of two consecutive planes.
|
|
NumComponents
long NumComponents;
- Description
- Number of color components per pixel.
|
|
ComponentMasks
sequence< hyper > ComponentMasks;
- Description
- Mask values for packed bitmaps
This member contains NumComponents 64 bit masks, which can be
used to mask out the corresponding color component from the
bitmap data. For the typical 32 bit RGBA color data, the four
mask values would look like 0xFF000000, 0x00FF0000,
0x0000FF00, and 0x000000FF.
|
|
Endianness
byte Endianness;
- Description
- Endianness of the pixel values.
This value must be one of the Endianness constants
|
|
Format
byte Format;
- Description
- Format type of this bitmap.
This value must be one of the IntegerBitmapFormat
constants. The precise layout of the color channels within a
bitmap pixel is further specified via the ComponentMasks member.
|
|
IsPseudoColor
boolean IsPseudoColor;
- Description
- This member determines whether the bitmap data are actually
indices into a color map.
The member must not be true for bitmap formats of more than
eight bits per pixel.
|
|
Copyright © 2003 Sun Microsystems, Inc.