Packages

 

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

Class EmfRegionDataHeader

  • All Implemented Interfaces:
    Cloneable


    public final class EmfRegionDataHeader
    extends EmfObject

    The RegionDataHeader object describes the properties of a RegionData object.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBounds()
      Gets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.
      int getCountRects()
      Gets a 32-bit unsigned integer that specifies the number of rectangles in this region.
      int getRgnSize()
      Gets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.
      int getSize()
      Gets a 32-bit unsigned integer that specifies the size of this object in bytes.
      int getType()
      Gets a 32-bit unsigned integer that specifies the region type.
      void setBounds(Rectangle value)
      Sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.
      void setCountRects(int value)
      Sets a 32-bit unsigned integer that specifies the number of rectangles in this region.
      void setRgnSize(int value)
      Sets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.
      void setSize(int value)
      Sets a 32-bit unsigned integer that specifies the size of this object in bytes.
      void setType(int value)
      Sets a 32-bit unsigned integer that specifies the region type.
    • Constructor Detail

      • EmfRegionDataHeader

        public EmfRegionDataHeader()
    • Method Detail

      • getSize

        public int getSize()

        Gets a 32-bit unsigned integer that specifies the size of this object in bytes. This MUST be 0x00000020.

      • setSize

        public void setSize(int value)

        Sets a 32-bit unsigned integer that specifies the size of this object in bytes. This MUST be 0x00000020.

      • getType

        public int getType()

        Gets a 32-bit unsigned integer that specifies the region type. This SHOULD be RDH_RECTANGLES (0x00000001).

      • setType

        public void setType(int value)

        Sets a 32-bit unsigned integer that specifies the region type. This SHOULD be RDH_RECTANGLES (0x00000001).

      • getCountRects

        public int getCountRects()

        Gets a 32-bit unsigned integer that specifies the number of rectangles in this region.

      • setCountRects

        public void setCountRects(int value)

        Sets a 32-bit unsigned integer that specifies the number of rectangles in this region.

      • getRgnSize

        public int getRgnSize()

        Gets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.

      • setRgnSize

        public void setRgnSize(int value)

        Sets a 32-bit unsigned integer that specifies the size of the buffer of rectangles in bytes.

      • getBounds

        public Rectangle getBounds()

        Gets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.

      • setBounds

        public void setBounds(Rectangle value)

        Sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19), which specifies the bounds of the region.