VintaSoft Imaging .NET SDK v9.1 for Web
Vintasoft.Imaging.ImageProcessing Namespace / WebColorReplaceSphereJS type / WebColorReplaceSphereJS Constructor
Red component value of this color sphere.
Green component value of this color sphere.
Blue component value of this color sphere.
Radius, in the RGB space, of color sphere.
In This Topic
    WebColorReplaceSphereJS Constructor
    In This Topic
    Provides information about color replace sphere that allows to replace the colors.
    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 : number,
       g : number,
       b : number,
       radius : 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
    9
    5
    15
    5
    See Also