Name
SetLineCap -- define current line cap style (V5.0)
Synopsis
SetLineCap(style)
Function
This function can be used to define how DrawPath() should draw the endings of lines that are not connected to another vertices. Currently, the following cap styles are supported:

#CAPBUTT:
Do not draw any special line ending. Just stop drawing where the line ends. This is the default mode.

#CAPROUND:
Draw round line endings.

#CAPSQUARE:
Draw squared line endings.

Please note that the line cap style is only used when drawing vector outlines. It is obviously not used when filling vector paths.

Inputs
style
desired line cap style (see above for possible settings)

Show TOC