---
title: "strokedPath(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/path/strokedpath(_:)"
---

# strokedPath(_:)

Returns a stroked copy of the path using style to define how the stroked outline is created.

## Declaration

```swift
func strokedPath(_ style: StrokeStyle) -> Path
```
