Context.setLineCap
void setLineCap(cairo.types.LineCap lineCap)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.context.Context.stroke], and [cairo.context.Context.strokeExtents], but does not have any effect during path construction.
The default line cap style is [cairo.types.LineCap.Butt].
Parameters
lineCap | a line cap style |