:right-sidebar: True LineCap =================================================================== .. currentmodule:: gi.repository.Gsk .. versionadded:: 4.14 .. class:: LineCap :no-contents-entry: 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.
.. image:: https://docs.gtk.org/gsk4/caps-light.png
GSK_LINE_CAP_BUTT, GSK_LINE_CAP_ROUND, GSK_LINE_CAP_SQUARE
Fields ------ .. rst-class:: interim-class .. class:: LineCap :no-index: .. attribute:: BUTT Start and stop the line exactly at the start and end point .. attribute:: ROUND Use a round ending, the center of the circle is the start or end point .. attribute:: SQUARE Use squared ending, the center of the square is the start or end point