public final class EmfPlusBitmapData extends EmfPlusBaseBitmapData
The EmfPlusBitmapData object specifies a bitmap image with pixel data.
Constructor and Description |
---|
EmfPlusBitmapData() |
Modifier and Type | Method and Description |
---|---|
EmfPlusPalette |
getColors()
Gets or sets the palette colors
Colors (variable): An optional
EmfPlusPalette object (section 2.2.2.28), which specifies the palette
of colors used in the pixel data. |
byte[] |
getPixelData()
Gets or sets pixel data
PixelData (variable): An array of bytes that specify the pixel data.
|
void |
setColors(EmfPlusPalette value)
Gets or sets the palette colors
Colors (variable): An optional
EmfPlusPalette object (section 2.2.2.28), which specifies the palette
of colors used in the pixel data. |
void |
setPixelData(byte[] value)
Gets or sets pixel data
PixelData (variable): An array of bytes that specify the pixel data.
|
public EmfPlusPalette getColors()
Gets or sets the palette colors
Colors (variable): An optional EmfPlusPalette
object (section 2.2.2.28), which specifies the palette
of colors used in the pixel data. This field MUST be present if the I flag is set in the PixelFormat field of the
EmfPlusBitmap
object.
public void setColors(EmfPlusPalette value)
Gets or sets the palette colors
Colors (variable): An optional EmfPlusPalette
object (section 2.2.2.28), which specifies the palette
of colors used in the pixel data. This field MUST be present if the I flag is set in the PixelFormat field of the
EmfPlusBitmap
object.
public byte[] getPixelData()
Gets or sets pixel data
PixelData (variable): An array of bytes that specify the pixel data. The size and format of this data can be
computed from fields in the EmfPlusBitmap object, including the pixel format from the
Consts.EmfPlusPixelFormat
enumeration (section 2.1.1.25).
public void setPixelData(byte[] value)
Gets or sets pixel data
PixelData (variable): An array of bytes that specify the pixel data. The size and format of this data can be
computed from fields in the EmfPlusBitmap object, including the pixel format from the
Consts.EmfPlusPixelFormat
enumeration (section 2.1.1.25).