# LineCap Enum

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

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/LineCap
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

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

## Values

- `Butt = 0`: Stroke is squared off at the endpoint with no projection beyond the path.
- `Round = 1`: Semicircular arc of diameter equal to the line width is drawn around the endpoint and filled in.
- `Square = 2`: Stroke continues beyond the endpoint for half the line width and is squared off.
