VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.Utils Namespace / WebMatrixJS type / translatePrepend Property
Syntax BrowserCompatibility SeeAlso
In This Topic
translatePrepend Method
In This Topic
Prepends 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.translatePrepend(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