getPolygonColor()
The function gets the colors of a polygon of the Maps EWO.
Synopsis
bool getPolygonColor(int polygonId, string &fillColor, [string &lineColor, int layerId = 1])
Parameter
Parameter | Description |
---|---|
polygonId | polygon number |
fillColor | fill color of the polygon |
lineColor | color of the polygon outline |
layerId | layer number of polygon. Default: 1 |
Description
This function is used to get the fill color of a specified polygon as well as its outline color. It returns false in case of an error.
Assignment
See also
addPolygon(), appendPolygonInnerBoundaries(), centerOnPolygon(), getPolygonFillPattern(), getPolygonInnerBoundaries(), getPolygonLineType(), getPolygonLineWidth(), getPolygonOuterBoundaries(), getPolygons(), polygonExists(), removePolygon(), setPolygonColor(), setPolygonFillPattern(), setPolygonLineType(), setPolygonLineWidth(), setPolygonOuterBoundaries()