Generic Instance Method

background(_:alignment:)

No overview available.

Declaration

func background<Background>(_ background: Background, alignment: Alignment = .center) -> some View where Background : View

See Also

Setting the Foreground or Background of a View

func overlay<Overlay>(Overlay, alignment: Alignment) -> View

Layers a secondary view in front of this view.

func foregroundColor(Color?) -> View

Set the foreground color within self.

func zIndex(Double) -> View

Sets the Z index for an item.