Page 1 of 1

[Unity] Are TileBrushes implemented?

Posted: 18 Jun 2015, 03:22
by Scherub
Hi,

is any of the TileBrushes implemented? I tried the DrawingBrush and the VisualBrush as an alternative but both didn't seem to work. :(

In the end I just want a repeating pattern. If both brushes aren't implemented what would be the alternative?

Re: [Unity] Are TileBrushes implemented?

Posted: 18 Jun 2015, 19:10
by sfernandez
If you want a repeating pattern the only option now is using an ImageBrush.

VisualBrush is implemented but it has some limitations: Visual property can only point to a visible element of the XAML and TileMode is not working.

Re: [Unity] Are TileBrushes implemented?

Posted: 19 Jun 2015, 00:31
by Scherub
Ah, good to know. Thank you for your answer! :)

Re: [Unity] Are TileBrushes implemented?

Posted: 03 Jul 2015, 13:27
by jsantos
An important detail about ImageBrushes: they are not compatible with Atlases right now. So, if you need tiling you need to store the image in a separate file.