Difference between revisions of "ImGui.DrawList"

From GiderosMobile
Line 18: Line 18:
 
[[ImGui.DrawList:getForegroundDrawList]] ''gets the foreground ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:getForegroundDrawList() gets the foreground ImGui draw list-->
 
[[ImGui.DrawList:getForegroundDrawList]] ''gets the foreground ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:getForegroundDrawList() gets the foreground ImGui draw list-->
 
[[ImGui.DrawList:getWindowDrawList]] ''gets the window ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:getWindowDrawList() gets the window ImGui draw list-->
 
[[ImGui.DrawList:getWindowDrawList]] ''gets the window ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:getWindowDrawList() gets the window ImGui draw list-->
 +
 +
[[ImGui.DrawList:addLine]] ''adds a line to an ImGui draw list''<br/><!--GIDEROSMTD:ImGui.DrawList:addLine(p1, p2, color, alpha, thickness) adds a line to an ImGui draw list-->
  
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|

Revision as of 23:43, 22 April 2021

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2020.9

Description

This is the ImGui DrawList class.

This class gets the draw list associated to the current window, to append your own drawing primitives.


PLEASE NOTE THE DOCUMENTATION IS WORK IN PROGRESS


Methods

ImGui.DrawList:getBackgroundDrawList gets the background ImGui draw list
ImGui.DrawList:getForegroundDrawList gets the foreground ImGui draw list
ImGui.DrawList:getWindowDrawList gets the window ImGui draw list

ImGui.DrawList:addLine adds a line to an ImGui draw list

Events

Constants


Dear ImGui