constructor(x, y, scope = globalScope, color = "Red") {
        super(x, y, scope, 'RIGHT', 16);
        /* this is done in this.baseSetup() now
        this.scope['SixteenSegDisplay'].push(this);
        */
        this.fixedBitWidth = true;
        this.directionFixed = true;
        this.setDimensions(30, 50);
        this.input1 = new Node(0, -50, 0, this, 16);
        this.dot = new Node(0, 50, 0, this, 1);
        this.direction = 'RIGHT';
        this.color = color;
        this.actualColor = color;
    }
@class
SixteenSegDisplay
@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