LUA Reference Guide
Search…
EdgeTX v2.7
lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax [, flags])
Draw a rectangle in perspective
@status current Introduced in 2.4.0

Parameters

  • pitch,roll (positive numbers) pitch and roll to define the orientation of the rectangle
  • xmin,xmax,ymin,ymax (positive numbers) the limits of the rectangle
  • flags (optional) please see flags and color constants

Return value

none
Export as PDF
Copy link