Elliptical/Circular gradient

Bucky

Well-known member
Joined
Dec 23, 2001
Messages
791
Location
East Coast
User Rank
*Expert*
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. :o

For future reference:
[mshelp]ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/_gdiplus_creating_a_path_gradient_usecsharp.htm[/mshelp][/edit]
 
Back
Top