EmfInvertRgn

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfInvertRgn extends EmfStateRecordType

The EMR_INVERTRGN record inverts the colors in the specified region.

Constructors

ConstructorDescription
EmfInvertRgn(EmfRecord source)Initializes a new instance of the EmfInvertRgn class.

Methods

MethodDescription
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(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()Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
setRgnDataSize(int value)Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
getRgnData()Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.
setRgnData(byte[] value)Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object, in logical units.

EmfInvertRgn(EmfRecord source)

public EmfInvertRgn(EmfRecord source)

Initializes a new instance of the EmfInvertRgn class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

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.

Returns: Rectangle

setBounds(Rectangle value)

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.

Parameters:

ParameterTypeDescription
valueRectangle

getRgnDataSize()

public int getRgnDataSize()

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

Returns: int

setRgnDataSize(int value)

public void setRgnDataSize(int value)

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

Parameters:

ParameterTypeDescription
valueint

getRgnData()

public byte[] getRgnData()

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

Returns: byte[]

setRgnData(byte[] value)

public void setRgnData(byte[] value)

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

Parameters:

ParameterTypeDescription
valuebyte[]