VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebColorReplaceSphereJS type / set_NewColor Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_NewColor Method
In This Topic
Sets a color, which should be used instead of replaced color.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebColorReplaceSphereJS(r, g, b, radius);

var returnValue; // Type: any

// Parameters
var value; // Type: WebColorBaseJS

returnValue = instance.set_NewColor(value);

Parameters

value
An instance of WebColorBaseJS class.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if argument type is not RGB24 and not ARGB32.
Browser Compatibility
56+
45+
11
See Also