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
capiICoreClientAPIThe client API.
boundsElementBoundsThe bounds of the element.
bgcolordouble[]The background color of the element.
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctxContextsurfaceImageSurfaceThe surface of the GUI.