VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Utils Namespace / WebMatrixJS type / scale Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    scale Method
    In This Topic
    Appends the specified scale vector to current matrix.
    Syntax
    var instance = new Vintasoft.Imaging.Utils.WebMatrixJS(m11, m12, m21, m22, offsetx, offsety);
    
    var value; // Type: any
    
    // Parameters
    var scaleX; // Type: number
    var scaleY; // Type: number
    
    value = instance.scale(scaleX, scaleY);
    
    
    function scale(
    scaleX
    The value by which to scale this matrix along the x-axis.
    : number,
    scaleY
    The value by which to scale this matrix along the y-axis.
    : number
    ) : any;

    Parameters

    scaleX
    The value by which to scale this matrix along the x-axis.
    scaleY
    The value by which to scale this matrix along the y-axis.
    Browser Compatibility
    56+
    45+
    11
    See Also