Constructor
new module:Polygon(positionDefinition, points, optionsopt)
Polygon constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
positionDefinition | PositionDefinition | Any position | |
points | Array.<PositionDefinition> | Set of vertices relative to position defining the polygon | |
options | ComponentOptions | <optional> | Drawing options |
- Source