rotate

Rotates the point around the given center.

Parameters

angle Number

Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.

center kendo.geometry.Point|Array (default: [0, 0])

The rotation center. Can be a Point instance or an [x, y] array.

Returns

kendo.geometry.Point The current Point instance.

In this article