Bucky
Well-known member
How can a circular or elliptical gradient (or a portion of an ellipse
or circle) be drawn within a Rectangle?
Im thinking it can be achieved with a PathGradientBrush and a
certain GraphicsPath, but Im not sure exactly how.
[edit]Boy, do I feel dumb... five seconds after posting this I found
the answer in the help files.
For future reference:
[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/_gdiplus_creating_a_path_gradient_usecsharp.htm[/mshelp][/edit]
or circle) be drawn within a Rectangle?
Im thinking it can be achieved with a PathGradientBrush and a
certain GraphicsPath, but Im not sure exactly how.
[edit]Boy, do I feel dumb... five seconds after posting this I found
the answer in the help files.
For future reference:
[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/_gdiplus_creating_a_path_gradient_usecsharp.htm[/mshelp][/edit]