Vibrant
Translucency view.
Module | require("gui") |
Type | Class |
Inherits | Container |
Platforms | macOS |
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
Vibrant::Material
material
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