我试图做一个橡皮擦工具,可以擦除点从一个GraphicsPath。到目前为止,我的代码允许用户在表单上绘制,而“擦除”按钮应该删除GraphicsPath的前20个点。我怀疑GraphicsPath关闭了自己(连接每个点)。这是我的完整密码。我认为最相关的部分是底部的功能。_drawingPath = new GraphicsPath(); private
如果有一条线添加到定义了两端位置的Graphicspath,是否可以读取这对点?Point[] myArray = new Point(30,30),GraphicsPathmyPath2 = new GraphicsPath();在myPath2上,有没有类似于myPath2.Location的东西可以给我(30,30