scale

Creates a transformation matrix for scale with the specified parameters.

Parameters

scaleX Number

The scale factor on the X axis.

scaleY Number

The scale factor on the Y axis.

Returns

kendo.geometry.Matrix The transformation matrix for the specified scale.

Example

<script>
    var geom = kendo.geometry;
    // Create a scale matrix to scale by 2x on X axis and 1.5x on Y axis
    var scaleMatrix = geom.Matrix.scale(2, 1.5);
    console.log("Scale matrix:", scaleMatrix.toString());
</script>
In this article
scale
Not finding the help you need?
Contact Support