Clear image background with given color
None.
img = raylib.GenImageColor(128, 128, raylib.RED) // Repaint the entire image to black raylib.ImageClearBackground img, raylib.BLACK raylib.ExportImage img, "black.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.