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);
function translate(
: number,
: number
) : any;
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
See Also