Table of Contents

Class GuiElementGameOverlay

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class GuiElementGameOverlay : GuiElement, IDisposable
Inheritance
GuiElementGameOverlay
Implements
Inherited Members

Constructors

GuiElementGameOverlay(ICoreClientAPI, ElementBounds, double[])

Creates a new overlay element.

public GuiElementGameOverlay(ICoreClientAPI capi, ElementBounds bounds, double[] bgcolor)

Parameters

capi ICoreClientAPI

The client API.

bounds ElementBounds

The 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 Context
surface ImageSurface

The surface of the GUI.