Packages

 

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

Classes

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

Class EmfPlusBitmap

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusBitmap
    extends EmfPlusBaseImageData

    The EmfPlusBitmap object specifies a bitmap that contains a graphics image.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusBitmap() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      EmfPlusBaseBitmapData getBitmapData()
      Gets or sets bitmap data BitmapData (variable): Variable-length data that defines the bitmap data object specified in the Type field.
      int getHeight()
      Gets or sets bitmap height Height (4 bytes): A 32-bit signed integer that specifies the height in pixels of the area occupied by the bitmap.
      int getPixelFormat()
      Gets or sets pixel format PixelFormat (4 bytes): A 32-bit unsigned integer that specifies the format of the pixels that make up the bitmap image.
      int getStride()
      Gets or sets stride of the image Stride (4 bytes): A 32-bit signed integer that specifies the byte offset between the beginning of one scan-line and the next.
      int getType()
      Gets or sets type of the image Type (4 bytes): A 32-bit unsigned integer that specifies the type of data in the BitmapData field.
      int getWidth()
      Gets or sets image Width Width (4 bytes): A 32-bit signed integer that specifies the width in pixels of the area occupied by the bitmap.
      void setBitmapData(EmfPlusBaseBitmapData value)
      Gets or sets bitmap data BitmapData (variable): Variable-length data that defines the bitmap data object specified in the Type field.
      void setHeight(int value)
      Gets or sets bitmap height Height (4 bytes): A 32-bit signed integer that specifies the height in pixels of the area occupied by the bitmap.
      void setPixelFormat(int value)
      Gets or sets pixel format PixelFormat (4 bytes): A 32-bit unsigned integer that specifies the format of the pixels that make up the bitmap image.
      void setStride(int value)
      Gets or sets stride of the image Stride (4 bytes): A 32-bit signed integer that specifies the byte offset between the beginning of one scan-line and the next.
      void setType(int value)
      Gets or sets type of the image Type (4 bytes): A 32-bit unsigned integer that specifies the type of data in the BitmapData field.
      void setWidth(int value)
      Gets or sets image Width Width (4 bytes): A 32-bit signed integer that specifies the width in pixels of the area occupied by the bitmap.
    • Constructor Detail

      • EmfPlusBitmap

        public EmfPlusBitmap()
    • Method Detail

      • getBitmapData

        public EmfPlusBaseBitmapData getBitmapData()

        Gets or sets bitmap data BitmapData (variable): Variable-length data that defines the bitmap data object specified in the Type field. The content and format of the data can be different for every bitmap type.

        Value: The bitmap data.
      • setBitmapData

        public void setBitmapData(EmfPlusBaseBitmapData value)

        Gets or sets bitmap data BitmapData (variable): Variable-length data that defines the bitmap data object specified in the Type field. The content and format of the data can be different for every bitmap type.

        Value: The bitmap data.
      • getHeight

        public int getHeight()

        Gets or sets bitmap height Height (4 bytes): A 32-bit signed integer that specifies the height in pixels of the area occupied by the bitmap. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The height.
      • setHeight

        public void setHeight(int value)

        Gets or sets bitmap height Height (4 bytes): A 32-bit signed integer that specifies the height in pixels of the area occupied by the bitmap. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The height.
      • getPixelFormat

        public int getPixelFormat()

        Gets or sets pixel format PixelFormat (4 bytes): A 32-bit unsigned integer that specifies the format of the pixels that make up the bitmap image. The supported pixel formats are specified in the EmfPlusPixelFormat enumeration (section 2.1.1.25). If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The pixel format.
      • setPixelFormat

        public void setPixelFormat(int value)

        Gets or sets pixel format PixelFormat (4 bytes): A 32-bit unsigned integer that specifies the format of the pixels that make up the bitmap image. The supported pixel formats are specified in the EmfPlusPixelFormat enumeration (section 2.1.1.25). If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The pixel format.
      • getStride

        public int getStride()

        Gets or sets stride of the image Stride (4 bytes): A 32-bit signed integer that specifies the byte offset between the beginning of one scan-line and the next. This value is the number of bytes per pixel, which is specified in the PixelFormat field, multiplied by the width in pixels, which is specified in the Width field. The value of this field MUST be a multiple of four. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The stride.
      • setStride

        public void setStride(int value)

        Gets or sets stride of the image Stride (4 bytes): A 32-bit signed integer that specifies the byte offset between the beginning of one scan-line and the next. This value is the number of bytes per pixel, which is specified in the PixelFormat field, multiplied by the width in pixels, which is specified in the Width field. The value of this field MUST be a multiple of four. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The stride.
      • getType

        public int getType()

        Gets or sets type of the image Type (4 bytes): A 32-bit unsigned integer that specifies the type of data in the BitmapData field. This value MUST be defined in the EmfPlusBitmapDataType enumeration (section 2.1.1.2).

        Value: The type.
      • setType

        public void setType(int value)

        Gets or sets type of the image Type (4 bytes): A 32-bit unsigned integer that specifies the type of data in the BitmapData field. This value MUST be defined in the EmfPlusBitmapDataType enumeration (section 2.1.1.2).

        Value: The type.
      • getWidth

        public int getWidth()

        Gets or sets image Width Width (4 bytes): A 32-bit signed integer that specifies the width in pixels of the area occupied by the bitmap. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The width.
      • setWidth

        public void setWidth(int value)

        Gets or sets image Width Width (4 bytes): A 32-bit signed integer that specifies the width in pixels of the area occupied by the bitmap. If the image is compressed, according to the Type field, this value is undefined and MUST be ignored.

        Value: The width.