public final class EmfPlusRotateWorldTransform extends EmfPlusTerminalServerRecordType
The EmfPlusRotateWorldTransform record performs a rotation on the current world space transform.
Constructor and Description |
---|
EmfPlusRotateWorldTransform(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusRotateWorldTransform class. |
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Gets or sets a 32-bit floating-point value that specifies the angle of rotation in degrees.
|
boolean |
getPostMultipliedMatrix()
Gets a value indicating whether [post multiplied matrix].
|
void |
setAngle(float value)
Gets or sets a 32-bit floating-point value that specifies the angle of rotation in degrees.
|
getDataSize, getFlags, getSize, getType, setDataSize, setFlags, setSize
public EmfPlusRotateWorldTransform(EmfPlusRecord source)
Initializes a new instance of the EmfPlusRotateWorldTransform
class.
source
- The source.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
.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.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.