Re: Drawing a circular gradient
From: Frank Hileman (frankhil_at_no.spamming.prodigesoftware.com)
Date: 09/07/04
- Next message: Bob Powell [MVP]: "Re: How to achive a pen that can draw railway symbol?"
- Previous message: James Westgate: "Re: scale custom line cap"
- In reply to: abhishek ghuwalewala: "Drawing a circular gradient"
- Next in thread: abhishek ghuwalewala: "Re: Drawing a circular gradient"
- Reply: abhishek ghuwalewala: "Re: Drawing a circular gradient"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 7 Sep 2004 15:33:52 -0700
There is no built-in way to do that in GDI+. The closest you can get is to
break your path into multiple segments (arcs work), and draw each with a
linear gradient, changing the start and end color a bit each time.
Regards,
Frank Hileman
check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor
"abhishek ghuwalewala" <abhishekg.nospam@nospam.mail.com> wrote in message
news:u6C%23cMPlEHA.1152@TK2MSFTNGP11.phx.gbl...
> I want to draw a gradient, much like the gradient drawn by a linear
gradient
> brush, along a circular path. I have experimented with the
> PathGradientBrush, but I don't think it does what I want. Basically, I
want
> to be able to specify 2 colors and have the gradient drawn like in the
> image.
>
> Any help would be appreciated.
>
> Thanks,
> Abhishek
>
>
>
- Next message: Bob Powell [MVP]: "Re: How to achive a pen that can draw railway symbol?"
- Previous message: James Westgate: "Re: scale custom line cap"
- In reply to: abhishek ghuwalewala: "Drawing a circular gradient"
- Next in thread: abhishek ghuwalewala: "Re: Drawing a circular gradient"
- Reply: abhishek ghuwalewala: "Re: Drawing a circular gradient"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|