FabGL
ESP32 Display Controller and Graphics Library

◆ setPenWidth()

void setPenWidth ( int  value)

Sets pen width for lines, rectangles and paths.

Parameters
valuePen width (minimum is 1).

Example:

Canvas.setPenWidth(4);
Canvas.drawLine(10, 10, 100, 10);

Definition at line 212 of file canvas.cpp.