EmfPlusBitmapData
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusBaseBitmapData
public final class EmfPlusBitmapData extends EmfPlusBaseBitmapData
The EmfPlusBitmapData object specifies a bitmap image with pixel data.
Constructors
Constructor | Description |
---|---|
EmfPlusBitmapData() |
Methods
Method | Description |
---|---|
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. |
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. |
getPixelData() | Gets or sets pixel data PixelData (variable): An array of bytes that specify the pixel data. |
setPixelData(byte[] value) | Gets or sets pixel data PixelData (variable): An array of bytes that specify the pixel data. |
EmfPlusBitmapData()
public EmfPlusBitmapData()
getColors()
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.
Value: The colors.
Returns: EmfPlusPalette
setColors(EmfPlusPalette value)
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.
Value: The colors.
Parameters:
Parameter | Type | Description |
---|---|---|
value | EmfPlusPalette |
getPixelData()
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).
Value: The pixel data.
Returns: byte[]
setPixelData(byte[] value)
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).
Value: The pixel data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |