Polygon

qtype_ddmarker/shapes~ Polygon

new Polygon(label, pointsopt)

Source:

A shape that is a polygon.

Parameters:
Name Type Attributes Description
label String

name of this area.

points Array.<Point> <optional>

position of the vertices relative to (centreX, centreY). each object in the array should have two