Click or drag to resize
Pdf Library for .NET

PdfLineCapStyle Enumeration

The shape drawn at the endpoints of an open path (line ends).

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public enum PdfLineCapStyle
Members
Member nameValueDescription
ButtCap0 A flat cap that ends the stroke exactly at the endpoint with no projection.
RoundCap1 A rounded cap that extends a semicircle beyond the endpoint.
ProjectingSquareCap2 A square cap that projects a half-line-width beyond the endpoint.
Default-1 The default line cap, equivalent to ButtCap.
Example
PdfLineStyle style = new PdfLineStyle();
style.LineCapStyle = PdfLineCapStyle.RoundCap;
See Also