VintaSoft Imaging .NET SDK v8.5
WebAnnotationBrushJS Constructor
Vintasoft.Imaging.Annotation.Html5 Namespace > WebAnnotationBrushJS type : WebAnnotationBrushJS Constructor
Brush type. WebBrushStyleEnumJS object.
Brush color, for example, 'Red' or 'rgba(125,125,125,0.8)'.
Defines an object, which can be used for filling the annotation.
Syntax
// Parameters
var type; // Type:  object
var color; // Type:  string

var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationBrushJS(type, color);
function WebAnnotationBrushJS( 
   type : object,
   color : string
) : WebAnnotationBrushJS;

Parameters

type
Brush type. WebBrushStyleEnumJS object.
color
Brush color, for example, 'Red' or 'rgba(125,125,125,0.8)'.
Browser Compatibility
9
5
11
5
See Also

Reference

WebAnnotationBrushJS type