Generic Instance Method


Layers the given view behind this view.


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

See Also

Layering Views

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

Layers a secondary view in front of the view.

func zIndex(Double) -> View

Controls the display order of overlapping views.