-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ImageDrawTriangleStrip
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw a triangle strip defined by points within an image
| Parameter | Default Value | Note |
|---|---|---|
| dst | ||
| points | ||
| color |
None.
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