EmfPlusOffsetClip

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 EmfPlusOffsetClip extends EmfPlusClippingRecordType

The EmfPlusOffsetClip record applies a translation transform on the current clipping region for the world space. The new current clipping region is set to the result of the translation transform.

Constructors

ConstructorDescription
EmfPlusOffsetClip(EmfPlusRecord source)Initializes a new instance of the EmfPlusOffsetClip class.

Methods

MethodDescription
getDx()Gets or sets a 32-bit floating-point value that specifies the horizontal offset for the translation.
setDx(float value)Gets or sets a 32-bit floating-point value that specifies the horizontal offset for the translation.
getDy()Gets or sets a 32-bit floating-point value that specifies the vertical offset for the translation.
setDy(float value)Gets or sets a 32-bit floating-point value that specifies the vertical offset for the translation.

EmfPlusOffsetClip(EmfPlusRecord source)

public EmfPlusOffsetClip(EmfPlusRecord source)

Initializes a new instance of the EmfPlusOffsetClip class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getDx()

public float getDx()

Gets or sets a 32-bit floating-point value that specifies the horizontal offset for the translation.

Returns: float

setDx(float value)

public void setDx(float value)

Gets or sets a 32-bit floating-point value that specifies the horizontal offset for the translation.

Parameters:

ParameterTypeDescription
valuefloat

getDy()

public float getDy()

Gets or sets a 32-bit floating-point value that specifies the vertical offset for the translation.

Returns: float

setDy(float value)

public void setDy(float value)

Gets or sets a 32-bit floating-point value that specifies the vertical offset for the translation.

Parameters:

ParameterTypeDescription
valuefloat