One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

FillShapeStyle

struct · iOS 17.0+ · SDK 27.1

@frozen struct FillShapeStyle

A shape style that displays one of the overlay fills.

Members (1)

init · iOS 17.0+

init

TypeScript
static init(): FillShapeStyle
Swift declaration
@export(implementation) init()

An overlay fill style for filling shapes. 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.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →