Polygon

qtype_ddmarker/shapes~ Polygon

new Polygon(label, pointsopt)

Description:
  • A shape that is a polygon.

Source:
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