# 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](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants) and [color](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/constants/color-constants) constants

## Return value

none
