public static GuiComposer AddDynamicText(this GuiComposer composer, string text, CairoFont font, EnumTextOrientation orientation, ElementBounds bounds, string key = null) { if (!composer.Composed) { font = font.WithOrientation(orientation); GuiElementDynamicText elem = new GuiElementDynamicText(composer.Api, text, font, bounds); composer.AddInteractiveElement(elem, key); } return(composer); }