Home > database >  How to draw a rainbow line using Graphic class c#
How to draw a rainbow line using Graphic class c#

Time:08-17

So i'm trying to create infinite rainbow line. Here ColorUtils class Form1

There were too many things going wrong with your original code, but don't use async/await, don't forget to dispose disposables, don't forget to compute the actual line you're trying to draw, use yield return to get your rainbow colours, etc.

  •  Tags:  
  • c#
  • Related