Instance Method

blendMode(_:)

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

Declaration

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

Parameters

blendMode

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.