Table of Contents

Class GuiElementInset

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

Constructors

GuiElementInset(ICoreClientAPI, ElementBounds, int, float)

Creates a new inset for the GUI.

public GuiElementInset(ICoreClientAPI capi, ElementBounds bounds, int depth, float brightness)

Parameters

capi ICoreClientAPI

The Client API

bounds ElementBounds

The bounds of the Element.

depth int

The depth of the element.

brightness float

The brightness of the inset.

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.