EmfOffsetClipRgn

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

ConstructorDescription
EmfOffsetClipRgn(EmfRecord source)Initializes a new instance of the EmfOffsetClipRgn class.
EmfOffsetClipRgn()Initializes a new instance of the EmfOffsetClipRgn class.

Methods

MethodDescription
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:

ParameterTypeDescription
sourceEmfRecordThe 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:

ParameterTypeDescription
valuePoint