Packages

 

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

Classes

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

Class EmfPaintRgn

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


    public final class EmfPaintRgn
    extends EmfDrawingRecordType

    The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the playback device context.

    • Constructor Detail

      • EmfPaintRgn

        public EmfPaintRgn(EmfRecord source)

        Initializes a new instance of the EmfPaintRgn class.

        Parameters:
        source - The source.
      • EmfPaintRgn

        public EmfPaintRgn()

        Initializes a new instance of the EmfPaintRgn class.

    • Method Detail

      • getBounds

        public Rectangle getBounds()

        Gets 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)

        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 a 32-bit unsigned integer that specifies the size of region data, in bytes.

      • setRgnDataSize

        public void setRgnDataSize(int value)

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

      • getRgnData

        public EmfRegionData getRgnData()

        Gets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.

      • setRgnData

        public void setRgnData(EmfRegionData value)

        Sets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.