VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebColorReplaceSphereJS type / WebColorReplaceSphereJS Constructor(number,number,number,number)
Syntax BrowserCompatibility SeeAlso
In This Topic
    WebColorReplaceSphereJS Constructor(number,number,number,number)
    In This Topic
    Initializes a new instance of the WebColorReplaceSphereJS class.
    Syntax
    // Parameters
    var r; // Type: number
    var g; // Type: number
    var b; // Type: number
    var radius; // Type: number
    
    var instance = new Vintasoft.Imaging.ImageProcessing.WebColorReplaceSphereJS(r, g, b, radius);
    
    
    function WebColorReplaceSphereJS(
    r
    Red component value of this color sphere.
    : number,
    g
    Green component value of this color sphere.
    : number,
    b
    Blue component value of this color sphere.
    : number,
    radius
    Radius, in the RGB space, of color sphere.
    : number
    ) : WebColorReplaceSphereJS;

    Parameters

    r
    Red component value of this color sphere.
    g
    Green component value of this color sphere.
    b
    Blue component value of this color sphere.
    radius
    Radius, in the RGB space, of color sphere.
    Browser Compatibility
    56+
    45+
    11
    See Also