Class GuiElementGameOverlay
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public class GuiElementGameOverlay : GuiElement, IDisposable
- Inheritance
-
GuiElementGameOverlay
- Implements
- Inherited Members
- Extension Methods
Constructors
GuiElementGameOverlay(ICoreClientAPI, ElementBounds, double[])
Creates a new overlay element.
public GuiElementGameOverlay(ICoreClientAPI capi, ElementBounds bounds, double[] bgcolor)
Parameters
capi
ICoreClientAPIThe client API.
bounds
ElementBoundsThe bounds of the element.
bgcolor
double[]The background color of the element.
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctx
Contextsurface
ImageSurfaceThe surface of the GUI.