VintaSoft Imaging .NET SDK v8.6
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)'.
In This Topic
    WebAnnotationBrushJS Constructor
    In This Topic
    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