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.
Constructor and Description |
---|
EmfPlusSetClipRegion(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusSetClipRegion class. |
Modifier and Type | Method and Description |
---|---|
byte |
getCm()
Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
|
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.
|
void |
setCm(byte value)
Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
|
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.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusSetClipRegion(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetClipRegion
class.
source
- The source.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.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.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.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.