EmfPlusSetClipRegion

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusClippingRecordType

public final class EmfPlusSetClipRegion extends EmfPlusClippingRecordType

The EmfPlusSetClipRegion record combines the current clipping region with another graphics region. The new current clipping region is set to the result of performing the CombineMode operation on the previous current clipping region and the specified EmfPlusRegion object.

Constructors

ConstructorDescription
EmfPlusSetClipRegion(EmfPlusRecord source)Initializes a new instance of the EmfPlusSetClipRegion class.

Methods

MethodDescription
getCm()Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
setCm(byte value)Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
getObjectId()Gets or sets the index of an EmfPlusRegion object (section 2.2.1.8) in the EMF+ Object Table.The value MUST be zero to 63, inclusive.
setObjectId(byte value)Gets or sets the index of an EmfPlusRegion object (section 2.2.1.8) in the EMF+ Object Table.The value MUST be zero to 63, inclusive.

EmfPlusSetClipRegion(EmfPlusRecord source)

public EmfPlusSetClipRegion(EmfPlusRecord source)

Initializes a new instance of the EmfPlusSetClipRegion class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getCm()

public byte getCm()

Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions. See the CombineMode enumeration (section 2.1.1.4) for the meanings of the values.

Value: The cm.

Returns: byte

setCm(byte value)

public void setCm(byte value)

Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions. See the CombineMode enumeration (section 2.1.1.4) for the meanings of the values.

Value: The cm.

Parameters:

ParameterTypeDescription
valuebyte

getObjectId()

public byte getObjectId()

Gets or sets the index of an EmfPlusRegion object (section 2.2.1.8) in the EMF+ Object Table.The value MUST be zero to 63, inclusive.

Value: The object identifier.

Returns: byte

setObjectId(byte value)

public void setObjectId(byte value)

Gets or sets the index of an EmfPlusRegion object (section 2.2.1.8) in the EMF+ Object Table.The value MUST be zero to 63, inclusive.

Value: The object identifier.

Parameters:

ParameterTypeDescription
valuebyte