Skip to content

raylib.DrawTriangleLines

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a triangle using lines NOTE: Vertex must be provided in counter-clockwise order

Parameters

Parameter Default Value Note
v1
v2
v3
color WHITE

Return value

None.

Notes

Example

// Draw a triangle outline (vertices in counter-clockwise order)
raylib.DrawTriangleLines [200, 50], [100, 200], [300, 200], raylib.GREEN

Clone this wiki locally