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
capiICoreClientAPIThe client API
boundsElementBoundsThe bouds of the GUI Element.
Methods
ComposeElements(Context, ImageSurface)
Composes the elements.
public override void ComposeElements(Context ctx, ImageSurface surface)
Parameters
ctxContextsurfaceImageSurfaceThe surface of the GUI.