KDCircularProgress icon indicating copy to clipboard operation
KDCircularProgress copied to clipboard

progress color manipulation

Open returnchung opened this issue 8 years ago • 6 comments

Excuse me, how could I control the gradient colors range between startAngle to anyAngle(eg. 135 degrees) which could be various values because, by default, the color gradient seems to start from 0 to 180 degrees and then reverse gradient colors which I set.

returnchung avatar Sep 28 '17 05:09 returnchung

I have the same problem, could you please answer on this issue. Many thanks!

ghost avatar Oct 10 '17 13:10 ghost

Same problem, but there is no answer after one month 👎

gaecer avatar Oct 23 '17 09:10 gaecer

@return1225 Sorry I must have skipped this issue. Could you please explain better what you're trying to do? You want the gradients to apply only to a specified range?

@gaecer This is an open source project, I am in no way responsible of developing features to cover all your use cases, comments like this don't help anyone. PR's are always welcome.

kaandedeoglu avatar Oct 23 '17 09:10 kaandedeoglu

Hi @kaandedeoglu , Thanks for replying. Here is the thing. I'm trying to draw a dynamic progress with gradient color depending on variable values but the gradient color always was rendered from 0 to 180 degree and repeat conversely. Which means the gradient color range can't be controlled by any specific value of endpoint. For example, gradient color rendered with (red,green,blue) and specific progress range of angle sets from 0 to 240 degrees. The result would become a gradient color of (red,green,blue,green) rather than (red,green,blue) which seems to reflect at 180 degrees.

returnchung avatar Oct 23 '17 09:10 returnchung

Any fix for this yet?

iamsanketray123 avatar Mar 25 '19 22:03 iamsanketray123

hi, is there any way to get this to work yet as i also need the same thing.

nadimalam avatar Nov 06 '19 17:11 nadimalam