---
title: strokeEnd
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkpolylinerenderer/strokeend
---

# strokeEnd

The unit distance along the line where the stroke ends.

## Declaration

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

## Discussion

Discussion Use this property and strokeStart to render a portion of the line. Use location(atPointIndex:) to get unit distance locations for point indices along the line.

## See Also

### Accessing the stroke

- [strokeStart](mapkit/mkpolylinerenderer/strokestart.md)
