MatrixFromRotation Method |
Creates a new rotation matrix
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static IMatrix FromRotation(
float angle
)
Public Shared Function FromRotation (
angle As Single
) As IMatrix
static member FromRotation :
angle : float32 -> IMatrix
Parameters
- angle
- Type: SystemSingle
Angle in degrees to rotate. A positive value indicates a clockwise rotation, whereas a negative value will rotate counter clockwise
Return Value
Type:
IMatrixA new rotation matrix
See Also