SetLineCap
Vector graphics
Description
Sets the line cap style for subsequently drawn lines.
Syntax
Delphi
function TPDFlib.SetLineCap(LineCap: Integer): Integer;ActiveX
Function PDFlib::SetLineCap(LineCap As Long) As LongDLL
int DLSetLineCap(int InstanceID, int LineCap);Parameters
| LineCap | The line cap style to use: 0 = Butt 1 = Round 2 = Projecting square cap |
|---|
Return values
| 0 | The LineCap parameter was not valid |
|---|---|
| 1 | The line cap style was set successfully |