Optionalcolor?: stringColor, black by default
Optionalhidden?: booleantrue to get the polygon masked
OptionallineStyle?: stringLine style (line|-|dot|.|dashdash|--|dashdotdot|-..|dashdotdotdot|-...|dashdashdash|---)
Optionalopacity?: numberopacity (0 to 1), 1 by default
array of the vertexes points names of the polygon
Optionaltag?: stringTag to be applied on the created broken line (if present)
Optionalthickness?: numberStroke thickness
the created polygon if isPromiseMode is false else promise that will be resolved when the object is displayed
Adds a broken line vertexes of which are given in the array points (array of the vertexes points names) syntaxes
addBrokenLine(points),addBrokenLine(points, color),addBrokenLine(points, color, lineStyle)andaddBrokenLine(points, color, lineStyle, thickness)are allowed too, where points is an array of points or name of points