1 Attachment(s)
Problems with GradientLinearBrush
Hi all,
I'm having a bit of problem with System.Drawing.Drawing2D.LinearGradientBrush. First I initialize a Rectangle object and then pass into the constructor of the brush together with the selected start and end colors. Next I use the same rectangle object to be filled by System.Drawing.Graphics.FillRectangle function. However, I get the following image.
http://www.orange-works.com/downloads/brush.jpg
Notice the extra line at the top? The line will be gone if you change the height of the rectangle to certain values. I just couldn't figure this out.
Please help. :cry:
Re: Problems with GradientLinearBrush
Does anyone know? Please. :(