VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Utils Namespace / WebMatrixJS type / translate Property
Syntax BrowserCompatibility SeeAlso
In This Topic
translate Method
In This Topic
Appends a translation of the specified offsets to current matrix.
Syntax
var instance = new Vintasoft.Imaging.Utils.WebMatrixJS(m11, m12, m21, m22, offsetx, offsety);

var value; // Type: any

// Parameters
var dx; // Type: number
var dy; // Type: number

value = instance.translate(dx, dy);

Parameters

dx
The amount to offset current matrix along the x-axis.
dy
The amount to offset current matrix along the y-axis.
Browser Compatibility
56+
45+
11
See Also