LineCap#

Added in version 4.14.

class LineCap#

Specifies how to render the start and end points of contours or dashes when stroking.

The default line cap style is GSK_LINE_CAP_BUTT.

New entries may be added in future versions.

https://docs.gtk.org/gsk4/caps-light.png

Fields#

class LineCap
BUTT#

Start and stop the line exactly at the start and end point

ROUND#

Use a round ending, the center of the circle is the start or end point

SQUARE#

Use squared ending, the center of the square is the start or end point