# lcd.drawTriangle(x1, y1, x2, y2, x3, y3 \[, flags])

Draw a triangle

@status current Introduced in 2.4.0

## Parameters

* `x1,y1,x2,y2,x3,y3` (positive numbers) coordinates of the three vertices
* `flags` (optional) please see [flags](https://luadoc.edgetx.org/2.10/part_iii_-_opentx_lua_api_reference/constants/flags-and-pattern-constants) and [color](https://luadoc.edgetx.org/2.10/part_iii_-_opentx_lua_api_reference/constants/color-constants) constants

## Return value

none
