---
id: "P:cAlgo.API.Shape.StrokeLineJoin"
kind: "property"
type: "T:cAlgo.API.Shape"
url: "https://help.ctrader.com/ctrader-algo/references/Controls/Layout/Shapes/Shape/StrokeLineJoin/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# Shape.StrokeLineJoin

Member of [Shape](https://help.ctrader.com/ctrader-algo/references/Controls/Layout/Shapes/Shape/index.md).

## StrokeLineJoin

Gets or sets the shape that joins two lines.

Environments: Desktop supported · CLI not supported · Cloud not supported.

- CLI: Accepted without error but never displayed, so control events such as Click are never raised.
- Cloud: Accepted without error but never displayed, so control events such as Click are never raised.

C#:

```csharp
public PenLineJoin StrokeLineJoin {get; set;}
```

Python:

```python
shape.StrokeLineJoin: PenLineJoin
```

### Returns

`PenLineJoin` — 

### Examples

C#:

```csharp
var polyline = new Polyline { StrokeColor = Color.Orange, StrokeThickness = 8, StrokeLineJoin = PenLineJoin.Round };
polyline.Points = new[] { new Point(0, 60), new Point(40, 0), new Point(80, 60) };
Chart.AddControl(polyline);
```

Python:

```python
polyline = Polyline()
polyline.StrokeColor = Color.Orange
polyline.StrokeThickness = 8
polyline.StrokeLineJoin = PenLineJoin.Round
polyline.Points = [Point(0, 60), Point(40, 0), Point(80, 60)]
api.Chart.AddControl(polyline)
```

