toArray
Returns the matrix elements as an [a, b, c, d, e, f] array.
Parameters
digits Number
(Optional) Number of fractional digits.
Returns
Array An array representation of the matrix.
Example
<script>
var geom = kendo.geometry;
var matrix = new geom.Matrix(1.123, 0.456, 0.789, 1.234, 10.567, 5.891);
var array = matrix.toArray();
console.log("Array representation:", array);
// With specified digits
var roundedArray = matrix.toArray(2);
console.log("Rounded to 2 digits:", roundedArray);
</script>