Gets or sets the stroke dash style of this drawing.
Namespace: MindFusion.Mapping
File: Drawing.js
SyntaxJavaScript
Copy Code
|
|---|
get strokeDashStyle() {} |
MindFusion.Drawing.DashStyle. A member of the DashStyle enumeration.
ExampleThe following code creates a new CanvasLayer with an id "Drawings" and adds Circle instances. The circle outlining is dashed. The Circle class extends Drawing:
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; var points = [ var drawings = new m.CanvasLayer("Drawings"); var ids = ["Memorial", "Cathedral", "Museum", "Palace", "Cafe"]; // create markers and circles at the specified points |
See Also