---
title: lineJoin
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cashapelayer/linejoin
---

# lineJoin

Specifies the line join style for the shape’s path.

## Declaration

```swift
var lineJoin: CAShapeLayerLineJoin { get set }
```

## Discussion

Discussion The line join style specifies the shape of the joints between connected segments of a stroked path. The supported values are described in Line Join Values. The following figure shows the appearance of the available line join styles.

The default is miter.

## See Also

### Accessing Shape Style Properties

- [fillColor](quartzcore/cashapelayer/fillcolor.md)
- [fillRule](quartzcore/cashapelayer/fillrule.md)
- [lineCap](quartzcore/cashapelayer/linecap.md)
- [lineDashPattern](quartzcore/cashapelayer/linedashpattern.md)
- [lineDashPhase](quartzcore/cashapelayer/linedashphase.md)
- [lineWidth](quartzcore/cashapelayer/linewidth.md)
- [miterLimit](quartzcore/cashapelayer/miterlimit.md)
- [strokeColor](quartzcore/cashapelayer/strokecolor.md)
- [strokeStart](quartzcore/cashapelayer/strokestart.md)
- [strokeEnd](quartzcore/cashapelayer/strokeend.md)
