WmfFillRegion
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject
public class WmfFillRegion extends WmfObject
The META_FILLREGION record fills a region using a specified brush.
Constructors
Constructor | Description |
---|---|
WmfFillRegion() | Initializes a new instance of the WmfFillRegion class. |
WmfFillRegion(WmfGraphicObject region, WmfGraphicObject brush) | Initializes a new instance of the WmfFillRegion class. |
Methods
Method | Description |
---|---|
getRegionIndex() | Gets or sets the index of the region. |
setRegionIndex(int value) | Gets or sets the index of the region. |
getBrushIndex() | Gets or sets the index of the brush. |
setBrushIndex(int value) | Gets or sets the index of the brush. |
WmfFillRegion()
public WmfFillRegion()
Initializes a new instance of the WmfFillRegion
class.
WmfFillRegion(WmfGraphicObject region, WmfGraphicObject brush)
public WmfFillRegion(WmfGraphicObject region, WmfGraphicObject brush)
Initializes a new instance of the WmfFillRegion
class.
Parameters:
Parameter | Type | Description |
---|---|---|
region | WmfGraphicObject | The region. |
brush | WmfGraphicObject | The brush. |
getRegionIndex()
public int getRegionIndex()
Gets or sets the index of the region.
Value: Index into the WMF Object Table to get the region to be filled.
Returns: int
setRegionIndex(int value)
public void setRegionIndex(int value)
Gets or sets the index of the region.
Value: Index into the WMF Object Table to get the region to be filled.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBrushIndex()
public int getBrushIndex()
Gets or sets the index of the brush.
Value: Index into the WMF Object Table to get the brush to use for filling the region.
Returns: int
setBrushIndex(int value)
public void setBrushIndex(int value)
Gets or sets the index of the brush.
Value: Index into the WMF Object Table to get the brush to use for filling the region.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |