Contents

blendingMode

A value indicating how the view’s contents blend with the surrounding content.

Declaration

var blendingMode: NSVisualEffectView.BlendingMode { get set }

Discussion

When the value of this property is NSVisualEffectView.BlendingMode.behindWindow (the default), the visual effect view blurs the content behind the window. When the value is NSVisualEffectView.BlendingMode.withinWindow, it blurs the content behind the view of the current window.

If the visual effect view’s material is NSVisualEffectView.Material.titlebar, set the blending mode to NSVisualEffectView.BlendingMode.withinWindow.

See Also

Specifying the Effect Appearance