Matrix.Rotation
Rotation(double)
Creates matrix for given rotation angle.
public static Matrix Rotation(double alpha)
Parameter | Type | Description |
---|---|---|
alpha | Double | Rotation angle in radians. |
Return Value
Transformation matrix.
Examples
Matrix m = Matrix.Rotation(Math.PI / 2);
See Also
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF
Rotation(Rotation)
Creates matrix for given rotation.
public static Matrix Rotation(Rotation rotation)
Parameter | Type | Description |
---|---|---|
rotation | Rotation | Rotation. Valid values are: None, on90, on180, on270 |
Return Value
Matrix with rotation.
See Also
- enum Rotation
- class Matrix
- namespace Aspose.Pdf
- assembly Aspose.PDF