MatrixFromRotationAt Method (Single, Single, Single) |
Creates a new rotation matrix around a (centerX, centerY) point with the specified angle
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static IMatrix FromRotationAt(
float angle,
float centerX,
float centerY
)
Public Shared Function FromRotationAt (
angle As Single,
centerX As Single,
centerY As Single
) As IMatrix
static member FromRotationAt :
angle : float32 *
centerX : float32 *
centerY : 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 - centerX
- Type: SystemSingle
X co-ordinate of the point to rotate around - centerY
- Type: SystemSingle
Y co-ordinate of the point to rotate around
Return Value
Type:
IMatrixA new rotation matrix
See Also