multiplyCopy

Multiplies the matrix with another one and returns the result as new instance. The current instance elements are not altered.

Parameters

matrix kendo.geometry.Matrix

The matrix to multiply by.

Returns

kendo.geometry.Matrix The result of the multiplication.

Example

<script>
    var geom = kendo.geometry;
    var matrix1 = new geom.Matrix(2, 0, 0, 2, 10, 20);
    var matrix2 = new geom.Matrix(1, 0, 0, 1, 5, 5);
    var result = matrix1.multiplyCopy(matrix2);
    console.log("Matrix1:", matrix1.toString());
    console.log("Matrix2:", matrix2.toString());
    console.log("Result:", result.toString());
</script>
In this article
multiplyCopy
Not finding the help you need?
Contact Support