setPolygonLineWidth()

The function sets the line width of the outline of a polygon.

Synopsis

bool setPolygonLineWidth(int polygonId, int width, int layerId = 1)

Parameter

Parameter Description
polygonId Polygon number
width Width of the outline
layerId layer number of polygon. Default: 1

Description

This function is used to set the line width of the outline of a specified polygon. It returns false in case of an error.

Assignment

Maps Widget

See also

addPolygon(), appendPolygonInnerBoundaries(), centerOnPolygon(), getPolygonColor(), getPolygonFillPattern(), getPolygonInnerBoundaries(), getPolygonLineType(), getPolygonLineWidth(), getPolygonOuterBoundaries(), getPolygons(), polygonExists(), removePolygon(), setPolygonColor(), setPolygonFillPattern(), setPolygonLineType(), setPolygonOuterBoundaries()