Vibrant

Translucency view.

Modulerequire("yue.gui")
TypeClass
InheritsContainer
PlatformsmacOS

This view is only implemented for macOS by wrapping NSVisualEffectView,

It is not possible to draw on this view, to display content on it you have to add the content as child view.

Class methods

create()

Create a new Vibrant view.

Return

Vibrant

Methods

setmaterial(material)

Set the material for the view.

Parameters

getmaterial()

Get the material for the view.

Return

Vibrant::Material

setblendingmode(mode)

Set the blending mode for the view.

Parameters

getblendingmode()

Get the blending mode for the view.

Return

Vibrant::BlendingMode