setLineWidth()

The function sets the width of a line of the Maps EWO.

Synopsis

bool setLineWidth(int lineId, int width, int layerId = 1)

Parameter

Parameter Description
lineId line number
width line width
layerId layer number of line. Default: 1

Description

This function is used to set the stroke width for a specified line of the Maps EWO. It returns false in case of an error.

When the line width is set to zero, the line will not be drawn. To show the line its thickness must be set to a value > 0.

Assignment

Maps Widget

See also

addLine(), addPointToLine(), centerOnLine(), getLineColor(), getLinePoints(), getLines(), getLineType(), getLineWidth(), lineExists(), removeLine(), setLineColor(), setLineType()