Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Measures literal text at a relative font scale.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public static System.Numerics.Vector2 InnoEditor.ImGui.ImGui.MeasureText(string text, float scale)

Parameter text: The literal text to measure.

Parameter scale: Scale relative to the current font.

The copied width and height in UI pixels.