Vibrant
Translucency view.
| Module | require("yue.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
VibrantMethods
setmaterial(material)
Set the material for the view.
Parameters
Vibrant::Materialmaterial
getmaterial()
Get the material for the view.
Return
Vibrant::Materialsetblendingmode(mode)
Set the blending mode for the view.
Parameters
getblendingmode()
Get the blending mode for the view.
Return
Vibrant::BlendingMode