Instance Method


Sets the blend mode for compositing the view with overlapping views.


func blendMode(_ blendMode: BlendMode) -> some View



The blend mode for compositing this view.

Return Value

A view that applies blendMode to this view.

See Also

Compositing Views

enum BlendMode

Modes for compositing a view with overlapping content.

func compositingGroup() -> View

Wraps the view in a compositing group.

func drawingGroup(opaque: Bool, colorMode: ColorRenderingMode) -> View

Composites the view’s contents into an offscreen image before final display.

enum ColorRenderingMode

The working color space for color-compositing operations.