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
| Constructor | Description |
|---|---|
| EmfPlusOffsetClip(EmfPlusRecord source) | Initializes a new instance of the EmfPlusOffsetClip class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| source | EmfPlusRecord | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | float |
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:
| Parameter | Type | Description |
|---|---|---|
| value | float |