<!--
{
  "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/strokeEnd",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAShapeLayer(py)strokeEnd"
  },
  "title" : "strokeEnd"
}
-->

# strokeEnd

The relative location at which to stop stroking the path. Animatable.

```
var strokeEnd: CGFloat { get set }
```

## Discussion

The value of this property must be in the range 0.0 to 1.0. The default value of this property is 1.0.

Combined with the [`strokeStart`](/documentation/QuartzCore/CAShapeLayer/strokeStart) property, this property defines the subregion of the path to stroke. The value in this property indicates the relative point along the path at which to finish stroking while the [`strokeStart`](/documentation/QuartzCore/CAShapeLayer/strokeStart) property defines the starting point. A value of 0.0 represents the beginning of the path while a value of 1.0 represents the end of the path. Values in between are interpreted linearly along the path length.

---

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)