matrix

Gets the current transformation matrix for this transformation.

Returns

kendo.geometry.Matrix The current transformation matrix.

Example

<script>
var geom = kendo.geometry;
var transform = geom.transform().translate(50, 100).scale(2, 1.5);
var matrix = transform.matrix();

console.log('Matrix values:');
console.log('a:', matrix.a, 'b:', matrix.b, 'c:', matrix.c);
console.log('d:', matrix.d, 'e:', matrix.e, 'f:', matrix.f);
</script>
In this article
matrix
Not finding the help you need?
Contact Support