[WinUI] Shadows shape is wrong when using clipped image #16922
Labels
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When using shadows with a clipped image that has a specific shape (i.e., circular), the shape of the shadow is a square/rectangle.
This is an screenshot from the Maui.Controls.Sample app:
The control on the center is an image with an
EllipseGeometry
Clip.Steps to Reproduce
Expected: the shadow should have the same cicular shape as the Clipped View control.
Sample code:
maui/src/Controls/samples/Controls.Sample/Pages/Core/ShadowGalleries/ShadowPlaygroundPage.xaml
Lines 70 to 89 in 3f41775
Link to public reproduction project repository
No response
Version with bug
7.0.92
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: