Draw rectangle lines within an image with line thickness
None.
Before raylib 6.2, this form was called ImageDrawRectangleLines.
ImageDrawRectangleLines
img = raylib.GenImageColor(128, 128, raylib.BLACK) // Draw a 2px-thick white rectangle outline raylib.ImageDrawRectangleLinesEx img, [10, 10, 108, 108], 2, raylib.WHITE raylib.ExportImage img, "rect_outline.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.