---
title: strokeColor
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkoverlaypathrenderer/strokecolor
---

# strokeColor

The stroke color to use for the path.

## Declaration

```swift
var strokeColor: UIColor? { get set }
```

```swift
var strokeColor: NSColor? { get set }
```

## See Also

### Accessing the drawing attributes

- [fillColor](mapkit/mkoverlaypathrenderer/fillcolor.md)
- [lineWidth](mapkit/mkoverlaypathrenderer/linewidth.md)
- [lineJoin](mapkit/mkoverlaypathrenderer/linejoin.md)
- [lineCap](mapkit/mkoverlaypathrenderer/linecap.md)
- [miterLimit](mapkit/mkoverlaypathrenderer/miterlimit.md)
- [lineDashPhase](mapkit/mkoverlaypathrenderer/linedashphase.md)
- [lineDashPattern](mapkit/mkoverlaypathrenderer/linedashpattern.md)
