setPolygonFillPattern()
Sets the fill pattern for a specified polygon of the Maps EWO.
Synopsis
int setPolygonFillPattern(int polygonId, string fillPattern, int layerId = 1)
Parameter
Parameter | Description |
---|---|
polygonId | Polygon number |
fillPattern | Fill-pattern string for filling the polygon Only solid, outline, hatch and gradient are supported. |
layerId | layer number of the polygon default: 1 |
Description
This function is used to set the fill pattern of a specified polygon of the Maps EWO, which is used to define how the polygon is filled. By default, it is set to “[solid]”. It returns 0 when the action was completed successfully.
Assignment
See also
addPolygon(), appendPolygonInnerBoundaries(), centerOnPolygon(), getPolygonColor(), getPolygonFillPattern(), getPolygonInnerBoundaries(), getPolygonLineType(), getPolygonLineWidth(), getPolygonOuterBoundaries(), getPolygons(), polygonExists(), removePolygon(), setPolygonColor(), setPolygonLineType(), setPolygonLineWidth(), setPolygonOuterBoundaries()