Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Adds a straight screen-space stroke.

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

public void InnoEditor.ImGui.EditorDrawList.Line(System.Numerics.Vector2 start, System.Numerics.Vector2 end, uint color, float thickness = 1)

Parameter start: The first endpoint.

Parameter end: The final endpoint.

Parameter color: Packed RGBA color.

Parameter thickness: Stroke width in UI pixels.