---
title: "CustomLineCap.GetStrokeCaps"
url: "https://reference.aspose.com/drawing/net/system.drawing.drawing2d/customlinecap/getstrokecaps/"
product: "Aspose.Drawing for .NET API Reference"
description: "CustomLineCap method. Gets the caps used to start and end lines that make up this custom cap"
---

## CustomLineCap.GetStrokeCaps method

Gets the caps used to start and end lines that make up this custom cap.

```csharp
public void GetStrokeCaps(out LineCap startCap, out LineCap endCap)
```

| Parameter | Type | Description |
| --- | --- | --- |
| startCap | LineCap& | The LineCap enumeration used at the beginning of a line within this cap. |
| endCap | LineCap& | The LineCap enumeration used at the end of a line within this cap. |

### See Also

* enum [LineCap](../../linecap/)
* class [CustomLineCap](../)
* namespace [System.Drawing.Drawing2D](../../customlinecap/)
* assembly [Aspose.Drawing](../../../)


