unit

Returns the unit (identity) transformation matrix.

Returns

kendo.geometry.Matrix The unit (identity) matrix.

Example

<script>
    var geom = kendo.geometry;
    // Get the unit (identity) matrix
    var unitMatrix = geom.Matrix.unit();
    console.log("Unit matrix:", unitMatrix.toString()); // outputs: "1, 0, 0, 1, 0, 0"
</script>
In this article
unit
Not finding the help you need?
Contact Support