Class BlurredOverlay
A translucent overlay that blurs all widgets behind it.
Inherited Members
Namespace: SociallyDistant.Core.UI.Widgets
Assembly: SociallyDistant.Framework.dll
Syntax
public class BlurredOverlay : ContentWidget, IFontFamilyProvider, IInspectable, IContentWidget, IVisual<BlurredOverlay.VisualState>
Constructors
BlurredOverlay()
Creates a new instance of the BlurredOverlay widget.
Declaration
public BlurredOverlay()
Properties
Content
Declaration
public override Widget? Content { get; set; }
Property Value
Type | Description |
---|---|
Widget |
Overrides
DarkenBackground
Gets or sets a value indicating whether the overlay should also tint its background.
Declaration
public bool DarkenBackground { get; set; }
Property Value
Type | Description |
---|---|
bool |
VisualProperties
Gets a read-only reference to the visual properties associated with the widget.
Declaration
public ref readonly BlurredOverlay.VisualState VisualProperties { get; }
Property Value
Type | Description |
---|---|
BlurredOverlay.VisualState |
Methods
BeforeRender()
Declaration
protected override void BeforeRender()
Overrides
RebuildGeometry(GeometryHelper)
Declaration
protected override void RebuildGeometry(GeometryHelper geometry)
Parameters
Type | Name | Description |
---|---|---|
GeometryHelper | geometry |