<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAShapeLayer/lineJoin",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAShapeLayer(py)lineJoin"
  },
  "title" : "lineJoin"
}
-->

# lineJoin

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

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

## 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](/documentation/QuartzCore/line-join-values). The following figure shows the appearance of the available line join styles.

![](images/com.apple.quartzcore/media-1965771.gif)

The default is [`miter`](/documentation/QuartzCore/CAShapeLayerLineJoin/miter).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)