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

Not working with custom corner shape #214

Closed
akashwebapps opened this issue Apr 18, 2024 · 1 comment
Closed

Not working with custom corner shape #214

akashwebapps opened this issue Apr 18, 2024 · 1 comment

Comments

@akashwebapps
Copy link

When I define the radius for each corner differently in a drawable shape, it clips out the children and shows a rectangular box. However, if I keep the corner radius the same without defining each corner individually, it works well.

@Dimezis
Copy link
Owner

Dimezis commented Apr 18, 2024

Yes, this is a known limitation.
clipToOutline doesn't work with complex shapes.
You might want to subclass the BlurView and clip it to path on a Canvas level

@Dimezis Dimezis closed this as completed May 11, 2024
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