VintaSoft Imaging .NET SDK 14.0: 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);
    
    
    function translate(
    dx
    The amount to offset current matrix along the x-axis.
    : number,
    dy
    The amount to offset current matrix along the y-axis.
    : 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
    56+
    45+
    11
    See Also