ludo.svg.Polygon

ludo.svg.


new ludo.svg.Polygon(points, config)

Class for drawing polygons.

Parameters:
Name Type Description
points String
config canvas.NodeConfig
Source:
Example
var polygon = new ludo.svg.Polygon('20,20 40,25 60,40 80,120 120,140 200,180');

Extends

  • canvas.Polyline