Synced
ImGui.DrawLine
Section titled “ImGui.DrawLine”
- Adds a line 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.DrawLine(System.Numerics.Vector2 start, System.Numerics.Vector2 end, uint color, float thickness = 1)Parameters
Section titled “Parameters”Parameter start: The screen-space start point.
Parameter end: The screen-space end point.
Parameter color: The packed ImGui color.
Parameter thickness: The line thickness.