EmfPlusScaleWorldTransform

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.EmfPlusTerminalServerRecordType

public final class EmfPlusScaleWorldTransform extends EmfPlusTerminalServerRecordType

The EmfPlusScaleWorldTransform record performs a scaling on the current world space transform.

Constructors

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

Methods

MethodDescription
getPostMultipliedMatrix()Gets a value indicating whether [post multiplied matrix].
getSx()Gets or sets a 32-bit floating-point value that defines the horizontal scale factor.
setSx(float value)Gets or sets a 32-bit floating-point value that defines the horizontal scale factor.
getSy()Gets or sets a 32-bit floating-point value that defines the vertical scale factor.
setSy(float value)Gets or sets a 32-bit floating-point value that defines the vertical scale factor.

EmfPlusScaleWorldTransform(EmfPlusRecord source)

public EmfPlusScaleWorldTransform(EmfPlusRecord source)

Initializes a new instance of the EmfPlusScaleWorldTransform class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getPostMultipliedMatrix()

public boolean getPostMultipliedMatrix()

Gets a value indicating whether [post multiplied matrix]. If set, the transform matrix should be post-multipled. If clear, it should be premultiplied.

Value: true if [post multiplied matrix]; otherwise, false.

Returns: boolean

getSx()

public float getSx()

Gets or sets a 32-bit floating-point value that defines the horizontal scale factor. The scaling is performed by constructing a new transform matrix from the Sx and Sy field values, as shown in the following table. —————– | Sx | 0 | 0 | | 0 | Sx | 0 | —————– Figure 3: Scale Transform Matrix

Returns: float

setSx(float value)

public void setSx(float value)

Gets or sets a 32-bit floating-point value that defines the horizontal scale factor. The scaling is performed by constructing a new transform matrix from the Sx and Sy field values, as shown in the following table. —————– | Sx | 0 | 0 | | 0 | Sx | 0 | —————– Figure 3: Scale Transform Matrix

Parameters:

ParameterTypeDescription
valuefloat

getSy()

public float getSy()

Gets or sets a 32-bit floating-point value that defines the vertical scale factor.

Returns: float

setSy(float value)

public void setSy(float value)

Gets or sets a 32-bit floating-point value that defines the vertical scale factor.

Parameters:

ParameterTypeDescription
valuefloat