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
ICoreClientAPIbounds
ElementBoundsimageAsset
AssetLocation
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context context, ImageSurface surface)
Parameters
context
Contextsurface
ImageSurfaceThe surface of the GUI.