Vibrant

Translucency view.

Modulerequire("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