在 Silverlight 中从多个路径创建复合路径
我有以下标记:
需要创建一条看起来完全相同的复合路径。一般来说,我会在一组路径上使用“创建复合路径”,但是如何处理实心圆?也许有什么解决方法吗?添加 Fill 属性没有帮助。
另外,如果有一个工具可以在 Silverlight 中以编程方式执行此类操作,那就太好了。
I have following piece of markup :
There is a need to create one compound path that looks exactly the same. In general, i would use Create Compound Path on group of paths, but what to do with filled circle? Any workarounds maybe? Adding Fill property doesn't help.
Also, it would be nice to have an instrument to do such operation programmatically in Silverlight.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一种方法可以使用 Expression Design 来做到这一点。如果有,请执行以下操作:
生成的文件将具有单个 Path 元素,其形状与您要求的形状完全相同。
目前,无法通过编程或使用 Blend 来完成此操作。它必须在表达式设计中完成。
There's a way to do this using Expression Design. If you have it, do the following:
The generated file will have a single Path element with the exact shape you're asking for.
At the moment, there's no way to do it programmatically or by using Blend. It must be done in Expression Design.