PolygonCollection
- class Communicator.Markup.Shape.PolygonCollection()
This class is useful for drawing a number of polygons which share the same visual appearance
Methods
Methods
clear
- PolygonCollection.clear()
Removes all polygons from the collection
- Return type
void
createPolygon
getFillColor
getFillOpacity
- PolygonCollection.getFillOpacity()
Gets the fill opacity for this shape
- Return type
number
- Returns
the fill opacity
getPolygons
getStrokeColor
getStrokeWidth
setFillColor
setFillOpacity
- PolygonCollection.setFillOpacity(fillOpacity)
Sets the fill opacity for this shape
- Arguments
fillOpacity (
number()
) – the fill opacity
- Return type
void