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
See Also