Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }