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

Indicator stroke color and width options #27

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sgtsquiggs
Copy link

Added options to define stroke color (thanks @orsharir) as well as stroke width. Allows the creation of simple hollowed out dots:

pageControl.indicatorDiameter = 5.0f;
pageControl.pageIndicatorTintColor = [UIColor clearColor];
pageControl.pageIndicatorTintStrokeColor = [UIColor whiteColor];
pageControl.pageIndicatorTintStrokeWidth = 0.5f;
pageControl.currentPageIndicatorTintColor = [UIColor whiteColor];

orsharir and others added 3 commits January 29, 2014 15:25
Added ability to customize the stroke color of the dots. Allows for hollowed dots.
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

Successfully merging this pull request may close these issues.

2 participants