平铺背景图像以保存文件大小 [英] tile background image to save filesize
问题描述
http://blog.wpfwonderland.com/2009/04/04/using-a-tile-brush-in-expression-blend/
这不是我想要的吗?
我试图拍摄20 x 20像素的图像并让它重复填充页面
呃,这个链接比你需要的多一点但是,你想要TileBrush,更具体地说...... TileMode设置为" ; Tile" ;;
示例,找到一个标记为"Tile"的文件。对于一些快速的代码片段,但它很直接。干杯。 :)
http://msdn.microsoft.com/en-us/library/system.windows.media.tilebrush.tilemode.aspx
http://blog.wpfwonderland.com/2009/04/04/using-a-tile-brush-in-expression-blend/
this isnt quite what im looking for is it?
im trying to take an image 20 by 20 Pixels and have it repeat to fill up the page
Eh, the link adds a bit more than you need but yes, you want TileBrush, with more specifically...TileMode set to "Tile";
Examples, find the one labled "Tile" for some quick code snippet but its pretty straight forward. Cheers. :)
http://msdn.microsoft.com/en-us/library/system.windows.media.tilebrush.tilemode.aspx
这篇关于平铺背景图像以保存文件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!