Synced
ImGuiWidget.CenteredWrappedText
Section titled “ImGuiWidget.CenteredWrappedText”
- Draws wrapped non-interactive text as a centered block inside a padded 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.CenteredWrappedText(string text, System.Numerics.Vector2 areaSize, System.Numerics.Vector2 padding)Parameters
Section titled “Parameters”Parameter text: The literal text to wrap and draw.
Parameter areaSize: The complete area reserved by the widget.
Parameter padding: The minimum horizontal and vertical distance retained from the area edges whenever space permits.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when text is null.
Exception T:System.ArgumentOutOfRangeException: Thrown when an area component is not positive or a padding component is negative.