Table of Contents

Class GuiElementImage

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

Constructors

GuiElementImage(ICoreClientAPI, ElementBounds, AssetLocation)

public GuiElementImage(ICoreClientAPI capi, ElementBounds bounds, AssetLocation imageAsset)

Parameters

capi ICoreClientAPI
bounds ElementBounds
imageAsset AssetLocation

Methods

ComposeElements(Context, ImageSurface)

Composes the elements.

public override void ComposeElements(Context context, ImageSurface surface)

Parameters

context Context
surface ImageSurface

The surface of the GUI.