Draw a line defining thickness within an image
None.
img = raylib.GenImageColor(128, 128, raylib.BLACK) // Draw a thick diagonal line (3px) raylib.ImageDrawLineEx img, [0, 0], [127, 127], 3, raylib.WHITE raylib.ExportImage img, "thick_line.png" raylib.UnloadImage img
There was an error while loading. Please reload this page.