Represents a polyline drawing.
Namespace: MindFusion.Mapping
File: Poly.js
SyntaxJavaScript
Copy Code
|
|---|
// class |
RemarksThe Poly class extends the Drawing class and represents a geometrical figure that is built from a list of points. The points are connected with straight lines.
ExampleThe following code creates a new Polyline from an array with points and adds it to the decorations of a CanvasLayer:
JavaScript
Copy Code
|
|---|
var m = MindFusion.Mapping; var points = [ var drawings = new m.CanvasLayer("Drawings");
|
Inheritance HierarchyMindFusion.Mapping.Poly
See Also