EmfOffsetClipRgn
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfClippingRecordType
public final class EmfOffsetClipRgn extends EmfClippingRecordType
The EMR_OFFSETCLIPRGN record moves the current clipping region in the playback device context by the specified offsets.
Constructors
| Constructor | Description |
|---|---|
| EmfOffsetClipRgn(EmfRecord source) | Initializes a new instance of the EmfOffsetClipRgn class. |
| EmfOffsetClipRgn() | Initializes a new instance of the EmfOffsetClipRgn class. |
Methods
| Method | Description |
|---|---|
| getOffset() | Gets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the horizontal and vertical offsets in logical units. |
| setOffset(Point value) | Sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the horizontal and vertical offsets in logical units. |
EmfOffsetClipRgn(EmfRecord source)
public EmfOffsetClipRgn(EmfRecord source)
Initializes a new instance of the EmfOffsetClipRgn class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfOffsetClipRgn()
public EmfOffsetClipRgn()
Initializes a new instance of the EmfOffsetClipRgn class.
getOffset()
public Point getOffset()
Gets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the horizontal and vertical offsets in logical units.
Returns: Point
setOffset(Point value)
public void setOffset(Point value)
Sets a WMF PointL object ([MS-WMF] section 2.2.2.15) that specifies the horizontal and vertical offsets in logical units.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Point |