rotate
Creates a transformation matrix for rotation with the specified parameters.
Parameters
angle Number
The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.
x Number
The center of rotation on the X axis.
y Number
The center of rotation on the Y axis.
Returns
kendo.geometry.Matrix The transformation matrix for the specified rotation.
Example
<script>
var geom = kendo.geometry;
// Create a rotation matrix for 45 degrees around point (100, 50)
var rotateMatrix = geom.Matrix.rotate(45, 100, 50);
console.log("Rotation matrix:", rotateMatrix.toString());
</script>