Context.setLineCap

Sets the current line cap style within the cairo context. See cairo_line_cap_t for details about how the available line cap styles are drawn. As with the other stroke parameters, the current line cap style is examined by cairo_stroke(), cairo_stroke_extents(), and cairo_stroke_to_path(), but does not have any effect during path construction. The default line cap style is CAIRO_LINE_CAP_BUTT.

class Context
void
setLineCap

Parameters

lineCap cairo_line_cap_t

a line cap style

Meta