---
title: strokeEnd
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/styleconstructoroptions/strokeend
---

# strokeEnd

The unit distance along the line where a stroke ends.

## Declaration

```data
strokeEnd?: number;
```

## Discussion

Discussion The value of this property must be a number between 0 and 1. A value of 0 represents the beginning of the polyline, and a value of 1, the default, represents the end. MapKit JS interprets values between 0 and 1 linearly along the length of the polyline. The stroke is only visible for the overlay when strokeStart is less than strokeEnd.

## See Also

### Setting stroke styles

- [strokeColor](mapkitjs/styleconstructoroptions/strokecolor.md)
- [strokeOpacity](mapkitjs/styleconstructoroptions/strokeopacity.md)
- [strokeStart](mapkitjs/styleconstructoroptions/strokestart.md)
- [lineGradient](mapkitjs/styleconstructoroptions/linegradient.md)
