---
title: "Enum LineCap"
url: "https://reference.aspose.com/pdf/net/aspose.pdf.operators/linecap/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.Operators.LineCap enum. 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"
---

## LineCap 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.

```csharp
public enum LineCap
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| ButtCap | `0` | Butt cap. The stroke shall be squared off at the endpoint of the path. There shall be no projection beyond the end of the path. |
| RoundCap | `1` | Round cap. A semicircular arc with a diameter equal to the line width shall be drawn around the endpoint and shall be filled in. |
| SquareCap | `2` | Projecting square cap. The stroke shall continue beyond the endpoint of the path for a distance equal to half the line width and shall besquared off. |

### See Also

* namespace [Aspose.Pdf.Operators](../../aspose.pdf.operators/)
* assembly [Aspose.PDF](../../)


