Draw rectangle lines within an image
None.
img = raylib.GenImageColor(128, 128, raylib.BLACK) // Draw a 2px-thick white rectangle outline raylib.ImageDrawRectangleLines img, {x:10, y:10, width:108, height:108}, 2, raylib.WHITE raylib.ExportImage img, "rect_outline.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.