Synced
ImGui.DrawRectangle
Section titled “ImGui.DrawRectangle”
- Adds a rectangle outline to the current window draw list.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public static void InnoEditor.ImGui.ImGui.DrawRectangle(System.Numerics.Vector2 minimum, System.Numerics.Vector2 maximum, uint color, float rounding = 0, float thickness = 1)Parameters
Section titled “Parameters”Parameter minimum: The screen-space minimum corner.
Parameter maximum: The screen-space maximum corner.
Parameter color: The packed ImGui color.
Parameter rounding: The corner rounding radius.
Parameter thickness: The outline thickness.