In This Topic
Sets the cap style used at the end of lines drawn with the pen.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationPenJS(width, color, lineJoin, miterLimit, dashStyle, dashPattern, startCap, endCap);
var returnValue; // Type: any
// Parameters
var value; // Type: WebLineCapJS
returnValue = instance.set_EndCap(value);
function set_EndCap(
: WebLineCapJS
) : any;
Parameters
- value
- An instance of WebLineCapJS class that defines style of line cap.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Example
// change the end cap of WebAnnotationPenJS object
outline.set_EndCap(new WebLineCapJS("Arrow", {width:30, height:30}));
Browser Compatibility
See Also