Name
ccontext:SetLineJoin -- set line join style
Synopsis
ccontext:SetLineJoin(line_join)
Function
Sets the current line join style within the Cairo context. The line_join parameter can be one of the following constants:

#CAIRO_LINE_JOIN_MITER
Use a sharp (angled) corner. See ccontext:SetMiterLimit for details.
#CAIRO_LINE_JOIN_ROUND
Use a rounded join, the center of the circle is the joint point.
#CAIRO_LINE_JOIN_BEVEL
Use a cut-off join, the join is cut off at half the line width from the joint point.

As with the other stroke parameters, the current line join style is examined by ccontext:Stroke() and ccontext:StrokeExtents(), but does not have any effect during path construction.

The default line join style is #CAIRO_LINE_JOIN_MITER.

Inputs
line_join
a line join style (see above)

Show TOC