EmfRegionData
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject
public final class EmfRegionData extends EmfObject
The RegionData object specifies data that defines a region, which is made of non-overlapping rectangles.
Constructors
Constructor | Description |
---|---|
EmfRegionData() | Initializes a new instance of the EmfRegionData class. |
EmfRegionData(Rectangle rectangle) | Initializes a new instance of the EmfRegionData class. |
Methods
Method | Description |
---|---|
getRegionDataHeader() | Gets a 256-bit RegionDataHeader object that describes the following data. |
setRegionDataHeader(EmfRegionDataHeader value) | Sets a 256-bit RegionDataHeader object that describes the following data. |
getData() | Gets an array of WMF RectL objects ([MS-WMF] section 2.2.2.19); the objects are merged to create the region |
setData(Rectangle[] value) | Sets an array of WMF RectL objects ([MS-WMF] section 2.2.2.19); the objects are merged to create the region |
EmfRegionData()
public EmfRegionData()
Initializes a new instance of the EmfRegionData
class.
EmfRegionData(Rectangle rectangle)
public EmfRegionData(Rectangle rectangle)
Initializes a new instance of the EmfRegionData
class.
Parameters:
Parameter | Type | Description |
---|---|---|
rectangle | Rectangle | The rectangle. |
getRegionDataHeader()
public EmfRegionDataHeader getRegionDataHeader()
Gets a 256-bit RegionDataHeader object that describes the following data.
Returns: EmfRegionDataHeader
setRegionDataHeader(EmfRegionDataHeader value)
public void setRegionDataHeader(EmfRegionDataHeader value)
Sets a 256-bit RegionDataHeader object that describes the following data.
Parameters:
Parameter | Type | Description |
---|---|---|
value | EmfRegionDataHeader |
getData()
public Rectangle[] getData()
Gets an array of WMF RectL objects ([MS-WMF] section 2.2.2.19); the objects are merged to create the region
Returns: com.aspose.imaging.Rectangle[]
setData(Rectangle[] value)
public void setData(Rectangle[] value)
Sets an array of WMF RectL objects ([MS-WMF] section 2.2.2.19); the objects are merged to create the region
Parameters:
Parameter | Type | Description |
---|---|---|
value | Rectangle[] |