Any ideas how can I сlip text via shape using xaml?
Probably I could overlap the text with circle border with large thickness same color as background but what if background isn't solid color?
Here is an example of what I want:
Any ideas how can I сlip text via shape using xaml?
Probably I could overlap the text with circle border with large thickness same color as background but what if background isn't solid color?
Here is an example of what I want:
The approach i chose is using uiElement.Clip property. It allows you to clip only with rectangles, so you need to clip several times.
I combined three clipping squares rotated by 0, 30 and 60 degrees and used a thin overlapping circle border to hide the corners of dodecagon. here's the code in case someone needs it: