move

Moves the point to the specified x and y coordinates.

Parameters

x Number

The new X coordinate.

y Number

The new Y coordinate.

Returns

kendo.geometry.Point The current point instance.

Example

<script>
var geom = kendo.geometry;
var point = new geom.Point(10, 20);

console.log("Before move:", point.toString()); // outputs: "10 20"
point.move(50, 60);
console.log("After move:", point.toString()); // outputs: "50 60"
</script>
In this article
move
Not finding the help you need?
Contact Support