New to Kendo UI for jQueryStart a free 30-day trial

Translate

class methods

Creates a transformation matrix for translation with the specified parameters.

Parameters:xNumber

The distance to translate along the X axis.

yNumber

The distance to translate along the Y axis.

Returns:kendo.geometry.Matrix

The transformation matrix for the specified translation.

<script>
    var geom = kendo.geometry;
    // Create a translation matrix to move by 50 pixels on X and 30 pixels on Y
    var translateMatrix = geom.Matrix.translate(50, 30);
    console.log("Translation matrix:", translateMatrix.toString());
</script>
Not finding the help you need?
Contact Support