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

Added TumbShape for Slider #16

Merged
merged 2 commits into from
Jun 9, 2022
Merged

Added TumbShape for Slider #16

merged 2 commits into from
Jun 9, 2022

Conversation

yurkinh
Copy link
Contributor

@yurkinh yurkinh commented May 30, 2022

Added ThumbShape for the Slider Thumb
Rectangle and Rounded Rectangle.
Default is Circle
ThumbShape
ThumbShapeRR

canvas.FillEllipse(x, y, ThumbSize, ThumbSize);
switch (ThumbShape)
{
case ThumbShape.Circle:
Copy link
Owner

Choose a reason for hiding this comment

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

Could be nice to include a Path, and allow to create any shape too.

@jsuarezruiz jsuarezruiz merged commit 7a95d02 into jsuarezruiz:main Jun 9, 2022
@yurkinh yurkinh deleted the slider-thumb-shape branch June 9, 2022 20:07
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.

None yet

2 participants