Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusBitmapData

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusBitmapData
    extends EmfPlusBaseBitmapData

    The EmfPlusBitmapData object specifies a bitmap image with pixel data.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
    • Constructor Detail

      • EmfPlusBitmapData

        public EmfPlusBitmapData()
    • Method Detail

      • 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.
      • setColors

        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.
      • 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.
      • setPixelData

        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.