WmfInvertRegion

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject

public class WmfInvertRegion extends WmfObject

The META_INVERTREGION record draws a region in which the colors are inverted.

Constructors

ConstructorDescription
WmfInvertRegion(WmfGraphicObject region)Initializes a new instance of the WmfInvertRegion class.
WmfInvertRegion()Initializes a new instance of the WmfInvertRegion class.

Methods

MethodDescription
getRegionIndex()Gets or sets the index of the region.
setRegionIndex(int value)Gets or sets the index of the region.

WmfInvertRegion(WmfGraphicObject region)

public WmfInvertRegion(WmfGraphicObject region)

Initializes a new instance of the WmfInvertRegion class.

Parameters:

ParameterTypeDescription
regionWmfGraphicObjectThe region.

WmfInvertRegion()

public WmfInvertRegion()

Initializes a new instance of the WmfInvertRegion class.

getRegionIndex()

public int getRegionIndex()

Gets or sets the index of the region.

Value: The index of the region.

Returns: int

setRegionIndex(int value)

public void setRegionIndex(int value)

Gets or sets the index of the region.

Value: The index of the region.

Parameters:

ParameterTypeDescription
valueint