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

Transform

methods

Applies a transformation to the point coordinates. The current coordinates will be overriden.

Parameters:tansformationkendo.geometry.Transformation

The transformation to apply.

Returns:kendo.geometry.Point

The current Point instance.

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

console.log("Before transform:", point.toString()); // outputs: "10 20"
point.transform(transformation);
console.log("After transform:", point.toString()); // outputs: "20 40"
</script>
Not finding the help you need?
Contact Support