FabGL
ESP32 Display Controller and Graphics Library

◆ setLineEnds()

void setLineEnds ( LineEnds  value)

Sets line ends shape.

Parameters
valueLine ends shape.

Example:

Canvas.setPenWidth(4);
Canvas.setLineEnds(LineEnds::Circle);
Canvas.drawLine(10, 10, 100, 10);

Definition at line 221 of file canvas.cpp.