Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfInvertRgn

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfInvertRgn
    extends EmfStateRecordType

    The EMR_INVERTRGN record inverts the colors in the specified region.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfInvertRgn(EmfRecord source)
      Initializes a new instance of the EmfInvertRgn class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBounds()
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.
      byte[] getRgnData()
      Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.
      int getRgnDataSize()
      Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
      void setBounds(Rectangle value)
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.
      void setRgnData(byte[] value)
      Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.
      void setRgnDataSize(int value)
      Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
    • Constructor Detail

      • EmfInvertRgn

        public EmfInvertRgn(EmfRecord source)

        Initializes a new instance of the EmfInvertRgn class.

        Parameters:
        source - The source.
    • Method Detail

      • getBounds

        public Rectangle getBounds()

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.

      • setBounds

        public void setBounds(Rectangle value)

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.

      • getRgnDataSize

        public int getRgnDataSize()

        Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.

      • setRgnDataSize

        public void setRgnDataSize(int value)

        Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.

      • getRgnData

        public byte[] getRgnData()

        Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.

      • setRgnData

        public void setRgnData(byte[] value)

        Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.