Stroke.setLineWidth

Sets the line width to be used when stroking.

The line width must be > 0.

class Stroke
void
setLineWidth
(
float lineWidth
)

Parameters

lineWidth float

width of the line in pixels