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
capiICoreClientAPIThe Client API
boundsElementBoundsThe bounds of the Element.
depthintThe depth of the element.
brightnessfloatThe brightness of the inset.
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctxContextsurfaceImageSurfaceThe surface of the GUI.