## Pen.SetLineCap method

Sets the values that determine the style of cap used to end lines drawn by this [`Pen`](../).

```csharp
public void SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
```

| Parameter | Type | Description |
| --- | --- | --- |
| startCap | LineCap | A LineCap that represents the cap style to use at the beginning of lines drawn with this Pen. |
| endCap | LineCap | A LineCap that represents the cap style to use at the end of lines drawn with this Pen. |
| dashCap | DashCap | A LineCap that represents the cap style to use at the beginning or end of dashed lines drawn with this Pen. |

### See Also

* enum [LineCap](../../../aspose.drawing.drawing2d/linecap/)
* enum [DashCap](../../../aspose.drawing.drawing2d/dashcap/)
* class [Pen](../)
* namespace [Aspose.Drawing](../../pen/)
* assembly [Aspose.Drawing.Common](../../../)


