---
title: StrokeBorderShapeView
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/strokebordershapeview
---

# StrokeBorderShapeView

A shape provider that strokes the border of its shape.

## Declaration

```swift
@frozen nonisolated struct StrokeBorderShapeView<Content, Style, Background> where Content : InsettableShape, Style : ShapeStyle, Background : View
```

## Overview

Overview You don’t create this type directly; it’s the return type of Shape.strokeBorder.

## Topics

### Creating a stroke border shape view

- [init(shape:style:strokeStyle:isAntialiased:background:)](swiftui/strokebordershapeview/init(shape:style:strokestyle:isantialiased:background:).md)

### Getting shape view properties

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

## Relationships

### Conforms To

- [ShapeView](swiftui/shapeview.md)
- [View](swiftui/view.md)

## See Also

### Defining shape behavior

- [ShapeView](swiftui/shapeview.md)
- [Shape](swiftui/shape.md)
- [AnyShape](swiftui/anyshape.md)
- [ShapeRole](swiftui/shaperole.md)
- [StrokeStyle](swiftui/strokestyle.md)
- [StrokeShapeView](swiftui/strokeshapeview.md)
- [FillStyle](swiftui/fillstyle.md)
- [FillShapeView](swiftui/fillshapeview.md)
