Table of Contents

Class GuiElementGrayBackground

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

Constructors

GuiElementGrayBackground(ICoreClientAPI, ElementBounds)

Creates a new gray background.

public GuiElementGrayBackground(ICoreClientAPI capi, ElementBounds bounds)

Parameters

capi ICoreClientAPI

The client API

bounds ElementBounds

The bouds of the GUI 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.