需要填充帮助:沿路径填充或沿曲线填充或渐变圆填充??? [英] Need FILL help : Fill along a path OR fill along a curve OR gradient circular fill???

查看:104
本文介绍了需要填充帮助:沿路径填充或沿曲线填充或渐变圆填充???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获得此效果?

http://aspnetresources.com/images/centered_progress_indicator. png

我得到了戒指的蓝色部分,这很容易...获得阴影,也很容易.

我不确定如何可以做橙色追赶者部分.看起来渐变遵循环的形状.起初,我以为我可以做出几个橙色的线段并逐渐减少不透明度,但是渐变也跨越了这些线段!它不像一个片段是90%,另一个是80%,依此类推.它像一个片段沿着环的形状从50%变到60%.

有什么想法吗?

How can I get this effect?

http://aspnetresources.com/images/centered_progress_indicator.png

I got the blue part of the ring, that was easy... got the drop shadow, that was also easy.

Not sure how I can do the orange chaser portion. Looks like the gradient follows the shape of the ring. At first I thought I could just make a few orange segments and taper off the opacity, but the gradient is across the segments too! Its not like one of the segments is 90% the next is 80%, etc. its like a segment goes from 50% to 60% along the shape of the ring.

Any ideas?

推荐答案

鲍勃,

这并不像您想象的那么容易... :-(

阅读Charles Petzold关于具有渐变色的图形路径的文章.


这篇关于需要填充帮助:沿路径填充或沿曲线填充或渐变圆填充???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆