HotPDF Delphi PDF Component Developer Guide | ![]() |
THPDFPage.SetLineCap
|
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. lcRoundEnd Round cap. A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in. 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.
|
Copyright©2007-2019 losLab.com |