EmfFillRgn

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.EmfDrawingRecordType

public final class EmfFillRgn extends EmfDrawingRecordType

The EMR_FILLRGN record fills the specified region by using the specified brush.

Constructors

ConstructorDescription
EmfFillRgn(EmfRecord source)Initializes a new instance of the EmfFillRgn class.
EmfFillRgn()Initializes a new instance of the EmfFillRgn 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.
getIhBrush()Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index to fill the region.
setIhBrush(int value)Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index to fill the region.
getRgnData()Gets or sets a RgnDataSize length array of bytes that contains a RegionData (section 2.2.24) object.
setRgnData(EmfRegionData value)Gets or sets a RgnDataSize length array of bytes that contains a RegionData (section 2.2.24) object.

EmfFillRgn(EmfRecord source)

public EmfFillRgn(EmfRecord source)

Initializes a new instance of the EmfFillRgn class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

EmfFillRgn()

public EmfFillRgn()

Initializes a new instance of the EmfFillRgn class.

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

getIhBrush()

public int getIhBrush()

Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index to fill the region.

Returns: int

setIhBrush(int value)

public void setIhBrush(int value)

Gets or sets a 32-bit unsigned integer that specifies the brush EMF Object Table index to fill the region.

Parameters:

ParameterTypeDescription
valueint

getRgnData()

public EmfRegionData getRgnData()

Gets or sets a RgnDataSize length array of bytes that contains a RegionData (section 2.2.24) object.

Returns: EmfRegionData

setRgnData(EmfRegionData value)

public void setRgnData(EmfRegionData value)

Gets or sets a RgnDataSize length array of bytes that contains a RegionData (section 2.2.24) object.

Parameters:

ParameterTypeDescription
valueEmfRegionData