---
title: FillShapeView
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/fillshapeview
---

# FillShapeView

A shape provider that fills its shape.

## Declaration

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

## Overview

Overview You do not create this type directly, it is the return type of Shape.fill.

## Topics

### Creating a stroke shape view

- [init(shape:style:fillStyle:background:)](swiftui/fillshapeview/init(shape:style:fillstyle:background:).md)

### Getting shape view properties

- [background](swiftui/fillshapeview/background.md)
- [fillStyle](swiftui/fillshapeview/fillstyle.md)
- [shape](swiftui/fillshapeview/shape.md)
- [style](swiftui/fillshapeview/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)
- [StrokeBorderShapeView](swiftui/strokebordershapeview.md)
- [FillStyle](swiftui/fillstyle.md)
