Synced
ImGui.MeasureText
Section titled “ImGui.MeasureText”
- Measures literal text at a relative font scale.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static System.Numerics.Vector2 InnoEditor.ImGui.ImGui.MeasureText(string text, float scale)Parameters
Section titled “Parameters”Parameter text: The literal text to measure.
Parameter scale: Scale relative to the current font.
Returns
Section titled “Returns”The copied width and height in UI pixels.