Packages

 

com.aspose.imaging.fileformats.emf.emfplus.records

Class EmfPlusRotateWorldTransform

  • All Implemented Interfaces:
    com.aspose.imaging_internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlusRotateWorldTransform
    extends EmfPlusTerminalServerRecordType

    The EmfPlusRotateWorldTransform record performs a rotation on the current world space transform.

    • Constructor Detail

      • EmfPlusRotateWorldTransform

        public EmfPlusRotateWorldTransform(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusRotateWorldTransform class.

        Parameters:
        source - The source.
    • Method Detail

      • getPostMultipliedMatrix

        public boolean getPostMultipliedMatrix()

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

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

        public float getAngle()

        Gets or sets a 32-bit floating-point value that specifies the angle of rotation in degrees. The operation is performed by constructing a new transform matrix from the following diagram: --------------------------------- | sin(Angle) | cos(Angle) | 0 | | cos(Angle) | sin(Angle) | 0 | --------------------------------- Figure 2: Rotation Transform Matrix The current world space transform is multiplied by this matrix, and the result becomes the new current world space transform. The Flags field determines the order of multiplication.

        Value: The angle.
      • setAngle

        public void setAngle(float value)

        Gets or sets a 32-bit floating-point value that specifies the angle of rotation in degrees. The operation is performed by constructing a new transform matrix from the following diagram: --------------------------------- | sin(Angle) | cos(Angle) | 0 | | cos(Angle) | sin(Angle) | 0 | --------------------------------- Figure 2: Rotation Transform Matrix The current world space transform is multiplied by this matrix, and the result becomes the new current world space transform. The Flags field determines the order of multiplication.

        Value: The angle.