Stroke.setLineWidth

void setLineWidth(float lineWidth)

Sets the line width to be used when stroking.

The line width must be > 0.

Parameters

lineWidthwidth of the line in pixels