public class WmfBitmap16 extends MetaObject
The Bitmap16 Object specifies information about the dimensions and color format of a bitmap.
Constructor and Description |
---|
WmfBitmap16() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBits()
Gets or sets the bits.
|
byte |
getBitsPixel()
Gets or sets the bits pixel.
|
short |
getHeight()
Gets or sets the height.
|
byte |
getPlanes()
Gets or sets the planes.
|
short |
getType()
Gets or sets the type.
|
short |
getWidth()
Gets or sets the width.
|
short |
getWidthBytes()
Gets or sets the width bytes.
|
void |
setBits(byte[] value)
Gets or sets the bits.
|
void |
setBitsPixel(byte value)
Gets or sets the bits pixel.
|
void |
setHeight(short value)
Gets or sets the height.
|
void |
setPlanes(byte value)
Gets or sets the planes.
|
void |
setType(short value)
Gets or sets the type.
|
void |
setWidth(short value)
Gets or sets the width.
|
void |
setWidthBytes(short value)
Gets or sets the width bytes.
|
public short getType()
Gets or sets the type.
Value: The bitmap type.public void setType(short value)
Gets or sets the type.
Value: The bitmap type.public short getWidth()
Gets or sets the width.
Value: The width of the bitmap in pixelspublic void setWidth(short value)
Gets or sets the width.
Value: The width of the bitmap in pixelspublic short getHeight()
Gets or sets the height.
Value: The height of the bitmap in scan lines.public void setHeight(short value)
Gets or sets the height.
Value: The height of the bitmap in scan lines.public short getWidthBytes()
Gets or sets the width bytes.
Value: The number of bytes per scan line.public void setWidthBytes(short value)
Gets or sets the width bytes.
Value: The number of bytes per scan line.public byte getPlanes()
Gets or sets the planes.
Value: The value of this field MUST be 0x01.public void setPlanes(byte value)
Gets or sets the planes.
Value: The value of this field MUST be 0x01.public byte getBitsPixel()
Gets or sets the bits pixel.
Value: The number of adjacent color bits on each plane.public void setBitsPixel(byte value)
Gets or sets the bits pixel.
Value: The number of adjacent color bits on each plane.public byte[] getBits()
Gets or sets the bits.
Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.public void setBits(byte[] value)
Gets or sets the bits.
Value: The bitmap pixel data. The length of this field in bytes can be computed as follows.