Click or drag to resize

PdfLineCap Enumeration

The line cap style shall specify the shape that shall be used at the ends of open subpaths (and dashes, if any) when they are stroked.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public enum PdfLineCap
Members
Member nameValueDescription
Butt0Butt cap. The stroke shall be squared off at the endpoint of the path. There shall be no projection beyond the end of the path.
Round1Round cap. A semicircular arc with a diameter equal to the line width shall be drawn around the endpoint and shall be filled in.
Square2Projecting square cap. The stroke shall continue beyond the endpoint of the path for a distance equal to half the line width and shall be squared off.
See Also