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
ICoreClientAPIThe client API
bounds
ElementBoundsThe bouds of the GUI Element.
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctx
Contextsurface
ImageSurfaceThe surface of the GUI.