New to Kendo UI for jQueryStart a free 30-day trial

Clone

methods

Creates a new instance with the same coordinates.

Returns:kendo.geometry.Point

A new Point instance with the same coordinates.

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

console.log(originalPoint.toString()); // outputs: "10 20"
console.log(clonedPoint.toString()); // outputs: "10 20"
console.log(originalPoint === clonedPoint); // outputs: false
</script>
Not finding the help you need?
Contact Support