transform
Applies a transformation to the point coordinates. The current coordinates will be overriden.
Parameters
tansformation kendo.geometry.Transformation
The transformation to apply.
Returns
kendo.geometry.Point
The current Point instance.
Example
<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>
In this article