Tag Archives: rainbowize

Draw rainbow text in C#

This program’s Paint event handler uses the Graphics object’s DrawString method to draw some rainbow text. The brush it uses to draw the text is a LinearGradientBrush filled with a rainbow of colors. The trickiest part is figuring out exactly … Continue reading

Posted in drawing, fonts, graphics, strings | Tagged , , , , , , , , , , , , , , , , | Leave a comment