Contents

FeatheredGlassBackgroundEffect

Declaration

struct FeatheredGlassBackgroundEffect

Overview

You can also use feathered to construct this effect.

The layout size of a view with feathered glass background is based on the content size instead of the glass background size. When the glass background is clipped by an outer container, such as VStack or HStack, it can be resolved by increasing content size, such as content padding, or reducing the feathered glass background size with its padding parameter.

Topics

Initializers

See Also

Adding a glass background on views in visionOS