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 and Description |
---|
EmfPaintRgn()
Initializes a new instance of the
EmfPaintRgn class. |
EmfPaintRgn(EmfRecord source)
Initializes a new instance of the
EmfPaintRgn class. |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19,
which specifies the bounding rectangle.
|
EmfRegionData |
getRgnData()
Gets a RgnDataSize length array of bytes that specifies a RegionData (section
2.2.24) object, in logical units.
|
int |
getRgnDataSize()
Gets a 32-bit unsigned integer that specifies the size of region data, in bytes.
|
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.
|
void |
setRgnData(EmfRegionData value)
Sets a RgnDataSize length array of bytes that specifies a RegionData (section
2.2.24) object, in logical units.
|
void |
setRgnDataSize(int value)
Sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
|
public EmfPaintRgn(EmfRecord source)
Initializes a new instance of the EmfPaintRgn
class.
source
- The source.public EmfPaintRgn()
Initializes a new instance of the EmfPaintRgn
class.
public Rectangle getBounds()
Gets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.
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.
public int getRgnDataSize()
Gets a 32-bit unsigned integer that specifies the size of region data, in bytes.
public void setRgnDataSize(int value)
Sets a 32-bit unsigned integer that specifies the size of region data, in bytes.
public EmfRegionData getRgnData()
Gets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.
public void setRgnData(EmfRegionData value)
Sets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.