unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
8.88k stars 718 forks source link

Add support for "Squircle"-type corner radius #8476

Closed carldebilly closed 1 year ago

carldebilly commented 2 years ago

The "Corner radius" of XAML is not enough to follow the iOS design principles of Squircle. Figma call them "Corner Smoothing".

What would you like to be added:

Support for Squircle corner radius on all platforms (even UWP if possible).

Why is this needed:

iOS/Cupertino design.

For which Platform:

ghost commented 2 years ago

Just for information:

https://docs.microsoft.com/en-us/windows/communitytoolkit/parsers/canvaspathgeometry

CanvasPathGeometry Drawing - Windows Community Toolkit
The CanvasPathGeometry class facilitates the drawing and manipulation of complex geometrical shapes.