Class GuiElementDialogBackground
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public class GuiElementDialogBackground : GuiElement, IDisposable
- Inheritance
-
GuiElementDialogBackground
- Implements
- Inherited Members
- Extension Methods
Constructors
GuiElementDialogBackground(ICoreClientAPI, ElementBounds, bool, double, float)
Adds a Background to the Dialog.
public GuiElementDialogBackground(ICoreClientAPI capi, ElementBounds bounds, bool withTitlebar, double strokeWidth = 0, float alpha = 1)
Parameters
capi
ICoreClientAPIThe Client API
bounds
ElementBoundsThe bounds of the element.
withTitlebar
boolMinor style adjustments to accomodate title bar
strokeWidth
doubleThe top padding area of the GUI
alpha
float
Fields
Alpha
public float Alpha
Field Value
FullBlur
public bool FullBlur
Field Value
Shade
public bool Shade
Field Value
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctx
Contextsurface
ImageSurfaceThe surface of the GUI.