EmfPlusSetClipPath

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 EmfPlusSetClipPath extends EmfPlusClippingRecordType

The EmfPlusSetClipPath record combines the current clipping region with a graphics path. The new current clipping region is set to the result of the CombineMode operation.

Constructors

ConstructorDescription
EmfPlusSetClipPath(EmfPlusRecord source)Initializes a new instance of the EmfPlusSetClipPath 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 EmfPlusPath object (section 2.2.1.6) in the EMF+ Object Table.
setObjectId(byte value)Gets or sets the index of an EmfPlusPath object (section 2.2.1.6) in the EMF+ Object Table.

EmfPlusSetClipPath(EmfPlusRecord source)

public EmfPlusSetClipPath(EmfPlusRecord source)

Initializes a new instance of the EmfPlusSetClipPath 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 EmfPlusPath object (section 2.2.1.6) 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 EmfPlusPath object (section 2.2.1.6) in the EMF+ Object Table. The value MUST be zero to 63, inclusive.

Value: The object identifier.

Parameters:

ParameterTypeDescription
valuebyte