Name
page:SetLineCap -- set line cap style
Synopsis
status = page:SetLineCap(linecap)
Function
page:SetLineCap() sets the shape to be used at the ends of lines.

The linecap parameter must be one of the following constants:

#HPDF_BUTT_END
Line is squared off at path endpoint

#HPDF_ROUND_END
End of line becomes a semicircle whose center is at path endpoint

#HPDF_PROJECTING_SCUARE_END
Line continues beyond endpoint, goes on half the endpoint stroke width

Inputs
linecap
the desired line cap style (see above)
Results
status
status code

Show TOC