![]() |
<< Index >> |
FutureBasic |
VisualEffectView | statement | |
|
Parameter |
Description |
tag | A number (1 through 1000000) that you assign when you create the visualeffectview and that you refer to when altering the view. The number you assign must be different from the tag value of all other existing widgets in the current window. A negative tag hides the view. |
rect | The visualeffectview's enclosing rectangle. This can be specified in either of two ways:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the view.(ii) A |
material | The material shown by the visualeffectview: NSVisualEffectMaterialTitlebar NSVisualEffectMaterialSelection NSVisualEffectMaterialMenu NSVisualEffectMaterialPopover NSVisualEffectMaterialSidebar NSVisualEffectMaterialHeaderView NSVisualEffectMaterialSheet NSVisualEffectMaterialWindowBackground NSVisualEffectMaterialHUDWindow NSVisualEffectMaterialFullScreenUI NSVisualEffectMaterialToolTip NSVisualEffectMaterialContentBackground NSVisualEffectMaterialUnderWindowBackground NSVisualEffectMaterialUnderPageBackground |
mode | A value indicating how the view’s contents blend with the surrounding contents: NSVisualEffectBlendingModeWithinWindow |
state | A value that indicates whether a view has a visual effect applied: NSVisualEffectStateActive NSVisualEffectStateInactive |
image | An image whose alpha channel masks the visual effect view's material. This parameter is optional and can be the name of (or path to) an image resource or an |
emphasized | A Boolean value indicating whether to emphasize the look of the material. Default = NO. macOS 10.12+ |
wndTag | An optional parameter for when the view's window is not the current output window. Note specifying this parameter does not bring the window to the front or make it the output window. |
Apple documentation
NSVisualEffectView