scale

Scales the point coordinates along the x and y axis.

Parameters

scaleX Number

The x scale multiplier.

scaleY Number

The y scale multiplier.

Returns

kendo.geometry.Point The current point instance.

Example

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

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