# lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax \[, flags])

Draw a rectangle in perspective

### 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/lua-api-reference/constants/flags-and-pattern-constants) and [color](https://luadoc.edgetx.org/lua-api-reference/constants/color-constants) constants

### Return value

none

### Available on

* [ ] [B\&W LCD radios](https://luadoc.edgetx.org/overview/radios#radios-with-b-and-w-lcd-screen)
* [ ] [Grayscale LCD radios](https://luadoc.edgetx.org/overview/radios#radios-with-grayscale-lcd-screen)
* [x] [Color LCD radios](https://luadoc.edgetx.org/overview/radios#radios-with-color-lcd-screen)

### API status

<table><thead><tr><th width="166">EdgeTX version</th><th width="573">Action</th></tr></thead><tbody><tr><td>2.4.0</td><td>Introduced</td></tr></tbody></table>
