Class EmfPlusRotateWorldTransform

Class EmfPlusRotateWorldTransform

Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Records
Assembly: Aspose.Imaging.dll (25.2.0)

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

public sealed class EmfPlusRotateWorldTransform : EmfPlusTerminalServerRecordType

Inheritance

objectMetaObjectEmfPlusRecordEmfPlusTerminalServerRecordTypeEmfPlusRotateWorldTransform

Inherited Members

EmfPlusRecord.Type, EmfPlusRecord.Flags, EmfPlusRecord.Size, EmfPlusRecord.DataSize, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfPlusRotateWorldTransform(EmfPlusRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusRotateWorldTransform class.

public EmfPlusRotateWorldTransform(EmfPlusRecord source)

Parameters

source EmfPlusRecord

The source.

Properties

Angle

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.

public float Angle { get; set; }

Property Value

float

PostMultipliedMatrix

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

public bool PostMultipliedMatrix { get; }

Property Value

bool