---
title: lineDashPhase
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkoverlaypathrenderer/linedashphase
---

# lineDashPhase

The offset (in points) at which to start drawing the dash pattern.

## Declaration

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

## Discussion

Discussion Use this property to start drawing a dashed line partway through a segment or gap. For example, a phase value of 6 for the pattern 5-2-3-2 would cause drawing to begin in the middle of the first gap. The default value of this property is 0.

## See Also

### Accessing the drawing attributes

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