EmfPaintRgn
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 EmfPaintRgn extends EmfDrawingRecordType
The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the playback device context.
Constructors
Constructor | Description |
---|---|
EmfPaintRgn(EmfRecord source) | Initializes a new instance of the EmfPaintRgn class. |
EmfPaintRgn() | Initializes a new instance of the EmfPaintRgn class. |
Methods
Method | Description |
---|---|
getBounds() | Gets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle. |
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() | Gets a 32-bit unsigned integer that specifies the size of region data, in bytes. |
setRgnDataSize(int value) | Sets a 32-bit unsigned integer that specifies the size of region data, in bytes. |
getRgnData() | Gets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units. |
setRgnData(EmfRegionData value) | Sets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units. |
EmfPaintRgn(EmfRecord source)
public EmfPaintRgn(EmfRecord source)
Initializes a new instance of the EmfPaintRgn
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
EmfPaintRgn()
public EmfPaintRgn()
Initializes a new instance of the EmfPaintRgn
class.
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.
Returns: Rectangle
setBounds(Rectangle value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle |
getRgnDataSize()
public int getRgnDataSize()
Gets a 32-bit unsigned integer that specifies the size of region data, in bytes.
Returns: int
setRgnDataSize(int value)
public void setRgnDataSize(int value)
Sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getRgnData()
public EmfRegionData getRgnData()
Gets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.
Returns: EmfRegionData
setRgnData(EmfRegionData value)
public void setRgnData(EmfRegionData value)
Sets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.
Parameters:
Parameter | Type | Description |
---|---|---|
value | EmfRegionData |