Synced
ImGuiWidget.CenteredText
Section titled “ImGuiWidget.CenteredText”
- Draws non-interactive text centered inside a reserved layout area.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.ImGui.ImGuiWidget.CenteredText(string text, System.Numerics.Vector2 areaSize)Parameters
Section titled “Parameters”Parameter text: Visible text.
Parameter areaSize: Size of the layout area that contains the text.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when text is null.
Exception T:System.ArgumentOutOfRangeException: Thrown when either component of areaSize is not positive.