setOrigin

Sets the origin (top-left point) of the rectangle.

Parameters

value kendo.geometry.Point|Array

The new origin Point or equivalent [x, y] array.

Returns

kendo.geometry.Rect The current rectangle instance.

In this article