Difference between revisions of "ImGui.DrawList"

From GiderosMobile
Line 20: Line 20:
  
 
[[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-->
 
[[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-->
 +
[[ImGui.DrawList:getFont]] ''gets the draw list font''<br/><!--GIDEROSMTD:ImGui.DrawList:getFont() gets the draw list font-->
 +
[[ImGui.DrawList:getFontSize]] ''gets the draw list font size''<br/><!--GIDEROSMTD:ImGui.DrawList:getFontSize() gets the draw list font size-->
  
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|

Revision as of 00:07, 1 May 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
ImGui.DrawList:getFont gets the draw list font
ImGui.DrawList:getFontSize gets the draw list font size

Events

Constants


Dear ImGui