constructor(x, y, scope = globalScope, color = "Red") {
        super(x, y, scope, 'RIGHT', 1);
        /* this is done in this.baseSetup() now
        this.scope['SevenSegDisplay'].push(this);
        */
        this.fixedBitWidth = true;
        this.directionFixed = true;
        this.setDimensions(30, 50);

        this.g = new Node(-20, -50, 0, this);
        this.f = new Node(-10, -50, 0, this);
        this.a = new Node(+10, -50, 0, this);
        this.b = new Node(+20, -50, 0, this);
        this.e = new Node(-20, +50, 0, this);
        this.d = new Node(-10, +50, 0, this);
        this.c = new Node(+10, +50, 0, this);
        this.dot = new Node(+20, +50, 0, this);
        this.direction = 'RIGHT';
        this.color = color;
        this.actualColor = color;
    }
@class
SevenSegDisplay
@extends CircuitElement
@param {number} x - x coordinate of element.
@param {number} y - y coordinate of element.
@param {Scope=} scope - Cirucit on which element is drawn
@category modules