EFCircularSlider icon indicating copy to clipboard operation
EFCircularSlider copied to clipboard

Half circle slider.

Open ghost opened this issue 9 years ago • 2 comments

Is it possible to draw only a half circle slider?

@fatuhoku @hodgesmr @eliotfowler @kenthumphries @ciotto

ghost avatar Apr 13 '15 08:04 ghost

I need too.

douglasjunior avatar May 04 '15 13:05 douglasjunior

@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.

eliotfowler avatar May 04 '15 14:05 eliotfowler