---
title: strokeStyle
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/strokebordershapeview/strokestyle
---

# strokeStyle

The stroke style used when stroking this view’s shape.

## Declaration

```swift
nonisolated var strokeStyle: StrokeStyle { get set }
```

## See Also

### Getting shape view properties

- [background](swiftui/strokebordershapeview/background.md)
- [isAntialiased](swiftui/strokebordershapeview/isantialiased.md)
- [shape](swiftui/strokebordershapeview/shape.md)
- [style](swiftui/strokebordershapeview/style.md)
