Gets or sets the stroke of this Drawing.
Namespace: MindFusion.Mapping
File: Drawing.js
SyntaxJavaScript
Copy Code
|
|---|
get stroke() {} |
Object. An object specifying the stroke of the drawing.
ExampleThe following code creates a new CanvasLayer with an id "Drawings" and adds Circle instances. The stroke is set to orange. The Circle class extends Drawing:
See Also