In This Topic
Sets the cap style used at the beginning 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_StartCap(value);
function set_StartCap(
: 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 start cap of WebAnnotationPenJS object
outline.set_StartCap(new WebLineCapJS("Arrow", {width:30, height:30}));
Browser Compatibility
See Also