Synced
ImGuiWidget.CenteredText
Section titled “ImGuiWidget.CenteredText”
- Draws non-interactive text centered inside a reserved layout area.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.ImGui.ImGuiWidget.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.