Closed devlers closed 1 year ago
Is there possibility to fill shape with wrapped (not stretched) image? I mean small image would be multiplied and filled whole shape. Is there plans to add this functionality or suggestion what would best approach to achieve this?
Can you provide an example of what you mean by this? Is this like tiling an image for a background and then clipping to a shape?
From To Exactly. Tiling small image to fill all shape background.
Can't you use a TileBrush? Or from the Community Toolkit?
Transferring to WinUI repo
@marlenecota I think I remember you doing this for ReactNative. Do you know how to do it in xaml?
@codendone FYI
In react-native-windows it was done using XamlCompositionBrushBase and Win2d's BorderEffect (setting both ExtendX and ExtendY to Wrap).
Here's react-native-windows code: https://github.com/microsoft/react-native-windows/tree/master/vnext/Microsoft.ReactNative/Views/Image
ReactImageBrush is the XamlCompositionBrush and we used a header only implementation of the Border effect because we didn't to bring in all of Win2D.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Hi,
Is there possibility to fill shape with wrapped (not stretched) image? I mean small image would be multiplied and filled whole shape. Is there plans to add this functionality or suggestion what would best approach to achieve this?
Thanks, Saulius