VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Html5 Namespace / WebAnnotationPenJS type
In This Topic
    WebAnnotationPenJS type
    In This Topic
    Defines an object, which can be used for drawing of lines and curves of the annotation.
    Syntax
    // Parameters
    var width; // Type:  number
    var color; // Type:  string
    var lineJoin; // Type:  object
    var miterLimit; // Type:  number
    var dashStyle; // Type:  object
    var dashPattern; // Type:  object
    var startCap; // Type:  object
    var endCap; // Type:  object
    
    var instance = new Vintasoft.Imaging.Annotation.Html5.WebAnnotationPenJS(width,
                                                                             color,
                                                                             lineJoin,
                                                                             miterLimit,
                                                                             dashStyle,
                                                                             dashPattern,
                                                                             startCap,
                                                                             endCap);
    function WebAnnotationPenJS;
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.Annotation.Html5.WebAnnotationPenJS

    Browser Compatibility
    9
    5
    11
    5
    Constructors
     NameDescription
    public ConstructorDefines an object, which can be used for drawing of lines and curves of the annotation.  
    Top
    Methods
     NameDescription
    public MethodCreates a new annotation pen that is a copy of the current annotation pen.  
    public MethodCopies the state of the current annotation pen to the target annotation pen.  
    public MethodDetermines that this annotation pen is equals to the specified annotation pen.  
    public MethodGets the color of the pen.  
    public MethodGets the dash pattern.  
    public MethodGets the style for dashed lines.  
    public MethodGets the cap style used at the end of lines drawn with the pen.  
    public MethodGets the join style for the ends of two consecutive lines.  
    public MethodGets the number that specifies maximum miter length.  
    public MethodGets the cap style used at the beginning of lines drawn with the pen.  
    public MethodGets the width of the pen.  
    public MethodSets the color of the pen.  
    public MethodSets the dash pattern.  
    public MethodSets the style for dashed lines.  
    public MethodSets the cap style used at the end of lines drawn with the pen.  
    public MethodSets the join style for the ends of two consecutive lines.  
    public MethodSets the number that specifies maximum miter length.  
    public MethodSets the cap style used at the beginning of lines drawn with the pen.  
    public MethodSets the width of the pen.  
    Top
    Events
     NameDescription
    public EventOccurs when annotation pen property is changed.  
    public EventOccurs when annotation pen property is changing.  
    Top
    See Also