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

Half circle slider. #34

Open
ghost opened this issue Apr 13, 2015 · 2 comments
Open

Half circle slider. #34

ghost opened this issue Apr 13, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 13, 2015

Is it possible to draw only a half circle slider?

@fatuhoku
@hodgesmr
@eliotfowler
@kenthumphries
@ciotto

@douglasjunior
Copy link

I need too.

@eliotfowler
Copy link
Owner

@RokasAug Please refrain from auto-tagging everyone that has been marked as a contributer. If they are still interested in helping, they will be "watching" the project and will be notified automatically. If not, they all just got an unnecessary notification.

This is possible, but not without customization of the library code. You will basically need to do 2 things:

  1. Restrict the slidable area to 0° to 180°
  2. Modify -(void) drawLine:(CGContextRef)ctx to draw an unfilled arc instead of an unfilled circle as the background.

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

2 participants