blendMode(_:)
Sets the blend mode for compositing this view with overlapping views.
Declaration
func blendMode(_ blendMode: BlendMode) -> some VisualEffect
Parameters
- blendMode:
The Blendmode for compositing.
Return Value
An effect that applies blendMode to this view.
Discussion
Use blendMode(_:) to combine overlapping views and use a different visual effect to produce the result. The BlendMode enumeration defines many possible effects.