Synced
EditorDrawList.Line
Section titled “EditorDrawList.Line”
- Adds a straight screen-space stroke.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.ImGui.EditorDrawList.Line(System.Numerics.Vector2 start, System.Numerics.Vector2 end, uint color, float thickness = 1)Parameters
Section titled “Parameters”Parameter start: The first endpoint.
Parameter end: The final endpoint.
Parameter color: Packed RGBA color.
Parameter thickness: Stroke width in UI pixels.