public final class EmfPlusSetClipRect extends EmfPlusClippingRecordType
The EmfPlusSetClipRect record combines the current clipping region with a rectangle.
Constructor and Description |
---|
EmfPlusSetClipRect(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusSetClipRect class. |
Modifier and Type | Method and Description |
---|---|
RectangleF |
getClipRect()
Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to
use in the CombineMode operation.
|
byte |
getCm()
Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
|
void |
setClipRect(RectangleF value)
Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to
use in the CombineMode operation.
|
void |
setCm(byte value)
Gets or sets the CM (4 bits): Specifies the logical operation for combining two regions.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusSetClipRect(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetClipRect
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 RectangleF getClipRect()
Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation.
public void setClipRect(RectangleF value)
Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation.