Coder Social home page Coder Social logo

circularslider's People

Contributors

caolsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

circularslider's Issues

Change the Start Angle

Hi,
first of all thank you for the great Slider. I am brand new to programming, never done anything like it before and still have lots of staff to learn :o)

I would appreciate if you could tell me, how I could change the start Angle of the filled track in the CircleSlider and maybe how I could use the gradient not just for the background circle but for the other one as well.
I tried working it out, but unfortunately so far, no Luck.

Thanks a lot.
Cosima

Can't obtain correct gradient distribution

Hi,
first of all thanks for your library, I like it!
I'm finding some problem in the gradient mode. I've set only half a circle, but the gradient is not going from blue to red correctly, the first color starts after some angle (see in the screenshot above).
termo

This is my code:

        circularSlider.maximumAngle = 220.0
        circularSlider.minimumValue = 0
        circularSlider.maximumValue = 16
        circularSlider.transform = circularSlider.getRotationalTransform()
        circularSlider.lineWidth = 28
        circularSlider.unfilledGradientColors = [UIColor.blue, UIColor.red]

Thanks!

Question

IMG_1831
Hello!
How can I increase the indent of the line from the edge of the view itself so that the Label does not go beyond?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.