You can use System.Drawing with .NET 6 Framework on non-windows platform. Aspose.Drawing in macOS or Linux to draw text or vector graphics.... Next, you can draw a gradient on an image with Bitmap and...above, an image containing the gradient like the following snapshot...