module:Polygon

Polygon class
polygon demo

Constructor

new module:Polygon(positionDefinition, points, optionsopt)

Polygon constructor

Parameters:
NameTypeAttributesDescription
positionDefinitionPositionDefinition

Any position

pointsArray.<PositionDefinition>

Set of vertices relative to position defining the polygon

optionsComponentOptions<optional>

Drawing options

Extends