Class GuiElementDynamicTextHelper
- Namespace
 - Vintagestory.API.Client
 
- Assembly
 - VintagestoryAPI.dll
 
public static class GuiElementDynamicTextHelper
  - Inheritance
 - 
      
      GuiElementDynamicTextHelper
 
- Inherited Members
 
Methods
AddDynamicText(GuiComposer, string, CairoFont, ElementBounds, string)
Adds dynamic text to the GUI.
public static GuiComposer AddDynamicText(this GuiComposer composer, string text, CairoFont font, ElementBounds bounds, string key = null)
  Parameters
composerGuiComposertextstringfontCairoFontboundsElementBoundskeystring
Returns
AddDynamicText(GuiComposer, string, CairoFont, EnumTextOrientation, ElementBounds, string)
[Obsolete("Use AddDymiacText without orientation attribute, that can be configured through the font")]
public static GuiComposer AddDynamicText(this GuiComposer composer, string text, CairoFont font, EnumTextOrientation orientation, ElementBounds bounds, string key = null)
  Parameters
composerGuiComposertextstringfontCairoFontorientationEnumTextOrientationboundsElementBoundskeystring
Returns
GetDynamicText(GuiComposer, string)
Gets the Dynamic Text by name from the GUI.
public static GuiElementDynamicText GetDynamicText(this GuiComposer composer, string key)
  Parameters
composerGuiComposerkeystringThe name of the element.