从Illustrator导入 [英] Importing from Illustrator
问题描述
我在Adobe Illustrator中完成了大约50条路径的详细矢量图形。 我将其导入表达式混合并将其放入我的UserControl中。 但是,我读到Shapes在这种情况下不适合使用,因为每个Shape都有一个
吨的功能,当我真的想把所有路径当作一个聚合对象时,它会有开销。 Adam Nathan的WPF书说我应该能够在表达式混合中转换为DrawingBrush,但我无法弄清楚如何在Blend
4中执行此操作。
I have a detailed vector graphic done in Adobe Illustrator that is about 50 paths. I import it into expression blend and drop it into my UserControl. However, I read that Shapes are not good to use in this situation because each Shape gets a ton of functionality which has overhead, when I really want to treat all the paths as one aggregate object. The WPF book by Adam Nathan says I should be able to convert to DrawingBrush in expression blend, but I cannot figure out how to do this in Blend 4.
是否可以将所有路径转换为一个DrawingBrush,或者将每个路径转换为单独的DrawingBrush?
Also will it be possible to convert all paths to one DrawingBrush, or do I convert each path to a separate DrawingBrush?
推荐答案
你好,
选择导入的所有路径,右键单击,然后分组到网格。
Select all your paths imported, right click and then Group into Grid.
然后选择工具 - >制作画笔资源 - >制作绘图刷子资源
Then select the Tools ->Make Brush Resource->Make Drawing Brush Resource
给它命名(或键)
删除网格。
现在,您可以从"资源"面板将资源拖到画板上,然后创建一个矩形或将其用作背景等。
You can now drag your Resource onto the artboard from the Resource panel and create a Rectangle or use it as a background etc.
HTH
干杯
这篇关于从Illustrator导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!