如何在两个图像之间绘制连接线? [英] How to draw a joining line between two Images ?

查看:89
本文介绍了如何在两个图像之间绘制连接线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个带有两个图像的应用程序,现在我想用一条线连接这两个图像(就像连接两个多边形一行一样) Microsoft Word)。此行应具有调整大小的属性,并且可以连接到图像边框上的任何点
,就像MS Word中的一行一样。


请告诉我如何我能在银光中获得这种功能。





提前致谢


Mohit







解决方案

我创建了一个行为来做到这一点。 查看我的博客,了解我的解决方案的源代码和演示。 

http://www.dataartist.net/博客/后/ Silverlight的行为 - 修饰-2- ConnectBehavior.aspx


Hi,

I'am having an application with two images ,Now i want to connect these two images by a line(Just like connecting two polygons by a line in Microsoft Word).This line should have the property of resizing and can be connected to any point on the image border same like a line in MS Word.

Please tell me how can i attain this functonality in silverlight.


Thanks in Advance

Mohit



解决方案

I created a behavior to do just that.  Check out my blog for the source code and a demo of my solution.  http://www.dataartist.net/blog/post/Silverlight-Behavior-Modifications-2-ConnectBehavior.aspx


这篇关于如何在两个图像之间绘制连接线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆