I am trying to create an arc (variable width, variable number of degrees - potentially a whole circle), which gradually switches, say, from one end to green to the other. I did not understand how to specify the gradient on the arc in order to accomplish this.
For example, if you could create a circular temperature gauge, where the marker marker points to varying degrees on a circle from 0 to 500. As an additional visualization, I would like the caliber circle to have a gradient color, indicating (from green) to very hot ( red).
I tried both PathGradientBrush and LinerarGradientBrush (but maybe I missed something). Radial gradients don't seem to give me what I need.
Any ideas will help.
Thanks.
Brian
source
share