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

Waveform with rounded bars #1760

Merged
merged 6 commits into from
Oct 6, 2019
Merged

Waveform with rounded bars #1760

merged 6 commits into from
Oct 6, 2019

Conversation

kubk
Copy link

@kubk kubk commented Oct 3, 2019

Short description of changes:

Added an optional barRadius parameter for specifying the radius of rounded bars. Added drawRoundedRect method for rendering rounded bars on Canvas.

Breaking in the external API:

No BC break.

Breaking changes in the internal API:

No BC break.

Related Issues and other PRs:

fixes #953

Notes

If this will be merged I will document this feature in gh-pages branch

Example

image

@coveralls
Copy link

coveralls commented Oct 3, 2019

Coverage Status

Coverage decreased (-1.2%) to 78.428% when pulling 0f2bbbd on kubk:953-waveform-with-rounded-bars into 8ba3328 on katspaugh:master.

Copy link
Contributor

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @kubk. Can you call the new method drawRoundedRect so it matches the other method names (e.g. fillRect)?

@thijstriemstra thijstriemstra changed the title Waveform with rounded bars (Close #953) Waveform with rounded bars Oct 5, 2019
@kubk
Copy link
Author

kubk commented Oct 6, 2019

@thijstriemstra Thank you! 👍

@thijstriemstra
Copy link
Contributor

If this will be merged I will document this feature in gh-pages branch

thanks @kubk, looking forward to that PR as well

@thijstriemstra thijstriemstra merged commit 0a3f609 into katspaugh:master Oct 6, 2019
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.

Waveform with rounded bars
3 participants