You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Draw triangle outline within an image
Parameters
Parameter
Default Value
Note
dst
v1
v2
v3
color
Return value
None.
Notes
Example
img=raylib.GenImageColor(128, 128, raylib.BLACK)
// Draw just the outline of a triangleraylib.ImageDrawTriangleLinesimg, [64, 0], [127, 127], [0, 127], raylib.WHITEraylib.ExportImageimg, "triangle_outline.png"raylib.UnloadImageimg