---
title: init()
framework: swiftui
role: symbol
role_heading: Initializer
path: swiftui/fillshapestyle/init()
---

# init()

An overlay fill style for filling shapes.

## Declaration

```swift
init()
```

## Discussion

Discussion This shape style is appropriate for items situated on top of an existing background color. It incorporates transparency to allow the background color to show through. Use the primary version of this style to fill thin or small shapes, such as the track of a slider. Use the secondary version of this style to fill medium-size shapes, such as the background of a switch. Use the tertiary version of this style to fill large shapes, such as input fields, search bars, or buttons. Use the quaternary version of this style to fill large areas that contain complex content, such as an expanded table cell.
