---
title: lineWidth
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkoverlaypathrenderer/linewidth
---

# lineWidth

The stroke width to use for the path.

## Declaration

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

## Discussion

Discussion The default value of this property is 0.

## See Also

### Accessing the drawing attributes

- [fillColor](mapkit/mkoverlaypathrenderer/fillcolor.md)
- [strokeColor](mapkit/mkoverlaypathrenderer/strokecolor.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)
