VintaSoft Imaging .NET SDK v9.1 for Web
Vintasoft.Imaging.ImageProcessing Namespace / WebColorReplaceSphereJS type
In This Topic
    WebColorReplaceSphereJS type
    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;
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.ImageProcessing.WebColorReplaceSphereJS

    Browser Compatibility
    9
    5
    15
    5
    Constructors
     NameDescription
    public ConstructorProvides information about color replace sphere that allows to replace the colors.  
    Top
    Methods
     NameDescription
    public MethodCreates a copy of object.  
    public MethodGets the center of color sphere.  
    public MethodGets a radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.  
    public MethodGets a color, which should be used instead of replaced color.  
    public MethodGets the radius, in the RGB space, of color sphere.  
    public MethodReturns color sphere parameters as JSON object.  
    public MethodSets the center of color sphere.  
    public MethodSets a radius, in range from 0 to 1, which specifies when interpolation should be used for color replacement.  
    public MethodSets a color, which should be used instead of replaced color.  
    public MethodSets the radius, in the RGB space, of color sphere.  
    public MethodConverts object to a string.  
    Top
    See Also