Drawing striped lines in C#

  • Thread starter Thread starter Valerie Hough
  • Start date Start date
V

Valerie Hough

How can I draw a striped line that is 4 pixels wide with 4 different colors
?

Thanks in advance.
Chris Hough
 
Draw 4 Lines 1 pixel wide with 1 colour for each.
The GDI + LinearGradientBrush might be able to do it in 1 hit with a
ColorBlend object but the first method will be faster I think.
HTH
JB
 
Back
Top