如何使用C#读取多边形的所有点 [英] How to read all the points of a polygon using C#

查看:249
本文介绍了如何使用C#读取多边形的所有点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#找到多边形的所有点。



我通过鼠标点击给出点来创建多边形,但我想找到< br $>


多边形的其他用途点。

How can I find all the points of the polygon using C#.

I created a polygon by giving points by mouse click, but I want to find the

points of the polygon for other purpose.

推荐答案

处理 MouseUp 要绘制多边形的容器的事件。你可以从那里获得积分。保留以备后用。
Handle the MouseUp event of the container on which you are drawing the polygon. You can get points from there. Retain it for later use.


这篇关于如何使用C#读取多边形的所有点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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