Enumeration (GI Enum)

HarfBuzz-0.0HarfBuzzdraw_line_cap_tSince 14.2.0

End-cap shape for hb_draw_line().

14.2.0

Index
BUTT: 0

No cap; the line ends exactly at its endpoint.

SQUARE: 1

Square cap; the line is extended past its endpoint by half the local stroke width. Useful for composing closed shapes from line segments (e.g. a rectangle made from four lines).