Polygon
- class Communicator.Markup.Shape.Polygon()
This class represents a shape bounded by the polyline formed from its points.
Methods
Methods
clearPoints
- Polygon.clearPoints()
Removes all points from this polygon
- Return type
void
getFillColor
getFillOpacity
- Polygon.getFillOpacity()
Gets the fill opacity for this shape
- Return type
number
- Returns
the fill opacity
getPoints
getStrokeColor
getStrokeWidth
pushPoint
setFillColor
setFillOpacity
- Polygon.setFillOpacity(fillOpacity)
Sets the fill opacity for this shape
- Arguments
fillOpacity (
number()
) – the fill opacity
- Return type
void