silverlight 中的动态曲线
我正在 silverlight 3 中编写图形编辑器之类的东西来定制 T 恤。有一个创建曲线的功能,即用户绘制一条直线,然后有一个滑块来控制曲线的半径,当用户更改半径时,曲线应相应更新。
我真的无法在网上找到任何讨论如何在 silverlight 中动态创建路径的链接。
任何有关此类工作的信息将不胜感激。
I am writing a graphic editor kind of thing in silverlight 3 to customize tee shirts. there is a functionality to create curved lines i.e. user draws a straight line and then there is a slider to control the radius of curve and as user changes the radius the curve should be update accordingly.
I am really unable to find any link on the net that discusses how to create paths on the fly in silverlight.
any any info about this kind of work would be highly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 John 最近制作的示例(带有代码): 银光圆圈扭曲
Win Dev Guru Petzold 发布了: 基于贝塞尔样条的文本变形
两者都应该对你有很大帮助。
Check out the sample (with code) that John recently made: Silverlight Circle Twist
And the Win Dev Guru Petzold posted: Text Deformation Based on Bézier Splines
Both should help you a lot.