code_junkie

polyline with gradient

Nov 10th, 2011
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. GraphicsPath gp = new GraphicsPath();
  2.  
  3. gp.AddArc(); // etc...
  4.  
  5. graphics.SetClip( gp );
  6.  
  7. graphics.FillRectangle( myLinearGradientBrush, gp.GetBounds());
Add Comment
Please, Sign In to add comment