VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationBrushJS type / WebAnnotationBrushJS Constructor(WebBrushStyleEnumJS,string)
Syntax BrowserCompatibility SeeAlso
In This Topic
WebAnnotationBrushJS Constructor(WebBrushStyleEnumJS,string)
In This Topic
Initializes a new instance of the WebAnnotationBrushJS class.
Syntax
// Parameters
var type; // Type: WebBrushStyleEnumJS
var color; // Type: string

var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationBrushJS(type, color);

Parameters

type
An instance of WebBrushStyleEnumJS class that defines the type of brush.
color
Brush color, for example, "Red" or "rgba(125,125,125,0.8)".
Browser Compatibility
56+
45+
11
See Also