446447448449450451452453454455456457458459460461
p.y=y; } boolean isIn=false; Line line=vmobject.getLineInNaehe(new Point(x,y)); if (line!=null) { if (line.getDirection()==Line.VERTIKAL) // Vertikal { if (hasLastPoint==false) { hasLastPoint=true; int x1=line.myStart.x;
418419420421422423424425426427428
public void mousePressed(MouseEvent e) { Point p = vmobject.getMousePosition(); Line line=vmobject.getLineInNaehe(p); /*if (line!=null) { Polygon aktuellesPoly=getDrahtPoints(); Draht drahtX;