public Vertex(float x, float y) { id = idCounter++; idLabel = new ScalableLabel(id.ToString()); circle = new Circle(x, y, 20); selectionCircle = new Circle(0, 0, 25, Color.Cyan); this.x = x; this.y = y; }
public Vertex() { id = idCounter++; idLabel = new ScalableLabel(id.ToString()); circle = new Circle(0, 0, 20); selectionCircle = new Circle(0, 0, 25, Color.Cyan); x = 0; y = 0; }