Contents

init(padding:softEdgeRadius:)

Creates a feathered glassBackground effect.

Declaration

init(padding length: CGFloat, softEdgeRadius: CGFloat? = nil)

Parameters

  • softEdgeRadius:

    When a blur is clipped, the radial size of the blur’s edge. If you set the value to nil, SwiftUI uses a default amount. The default value of this parameter is nil.

Return Value

A feathered background effect.