Skip to content

raylib.ImageDrawTriangleStrip

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a triangle strip defined by points within an image

Parameters

Parameter Default Value Note
dst
points
color

Return value

None.

Notes

Example

img = raylib.GenImageColor(128, 128, raylib.BLACK)
// Draw two triangles sharing an edge
pts = [[0, 127], [0, 0], [127, 127], [127, 0]]
raylib.ImageDrawTriangleStrip img, pts, raylib.BLUE
raylib.ExportImage img, "strip.png"
raylib.UnloadImage img

Clone this wiki locally