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

Clone

methods

Creates a new instance with the same transformation matrix.

Returns:kendo.geometry.Transformation

A new Transformation instance with the same matrix.

<script>
var geom = kendo.geometry;
var originalTransform = geom.transform().translate(10, 20).scale(2, 3);
var clonedTransform = originalTransform.clone();

console.log('Original and clone are different objects:', originalTransform !== clonedTransform);
console.log('But have the same matrix values:', originalTransform.equals(clonedTransform));
</script>
Not finding the help you need?
Contact Support