EmfPlusSetClipRect
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 EmfPlusSetClipRect extends EmfPlusClippingRecordType
The EmfPlusSetClipRect record combines the current clipping region with a rectangle.
Constructors
Constructor | Description |
---|---|
EmfPlusSetClipRect(EmfPlusRecord source) | Initializes a new instance of the EmfPlusSetClipRect class. |
Methods
Method | Description |
---|---|
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. |
getClipRect() | Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation. |
setClipRect(RectangleF value) | Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation. |
EmfPlusSetClipRect(EmfPlusRecord source)
public EmfPlusSetClipRect(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSetClipRect
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfPlusRecord | The 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:
Parameter | Type | Description |
---|---|---|
value | byte |
getClipRect()
public RectangleF getClipRect()
Gets or sets an EmfPlusRectF object (section 2.2.2.39) that defines the rectangle to use in the CombineMode operation.
Returns: RectangleF
setClipRect(RectangleF value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | RectangleF |