Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the colors? #99

Open
RaoulNL opened this issue Sep 30, 2018 · 0 comments
Open

How to use the colors? #99

RaoulNL opened this issue Sep 30, 2018 · 0 comments

Comments

@RaoulNL
Copy link

RaoulNL commented Sep 30, 2018

Hi,

Say I want to start the progress at the top. The progress color should begin with a light grey color and end with an (e.g.) red color when it has reached up to 360 degrees.
My question is how would I set this up?
startAngle would be -90.
clockWise would be true

But what would be the values for gradientRotateSpeed and the colors?
My best effort is:
gradientRotateSpeed = 0.25
colors: [.lightGray, .red]

I want to get as close as possible to the effect on the examples page with the orange progress bar.
Any help is greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant