HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.SetLineCap

THPDFPage

 

Top  Previous  Next

Sets the line cap style.

 

type

TLineCapStyle = ( lcButtEnd, lcRoundEnd, lcProjectSquareEnd );

 

Delphi syntax:

procedure SetLineCap ( Linecap: TLineCapStyle );

 

C++ syntax:

void __fastcall SetLineCap ( TLineCapStyle Linecap );

 

 

Description:

Set the line cap style in the graphics state.

 

Value                Meaning


lcButtEnd                Butt cap. The stroke is squared off at the endpoint of the path.

                       There is no projection beyond the end of the path.btsq

lcRoundEnd                Round cap. A semicircular arc with a diameter equal to the line width

                       is drawn around the endpoint and filled in. prci

lcProjectSquareEnd        Projecting square cap. The stroke continues beyond the endpoint of the path

                       for a distance equal to half the line width and is then squared off.  prsq

 

 

 

 

 

 

 

Copyright©2007-2019 losLab.com