constructor(x, y, scope = globalScope) {
        // Calling base class constructor
        super(x, y, scope, "UP", 8);
        /* this is done in this.baseSetup() now
        this.scope['RGBLed'].push(this);
        */
        this.rectangleObject = false;
        this.inp = [];
        this.setDimensions(10, 10);
        this.downDimensionY = 40;
        this.inp1 = new Node(-40, -10, 0, this, 8);
        this.inp2 = new Node(-40, 0, 0, this, 8);
        this.inp3 = new Node(-40, 10, 0, this, 8);
        this.inp.push(this.inp1);
        this.inp.push(this.inp2);
        this.inp.push(this.inp3);
        this.directionFixed = true;
        this.fixedBitWidth = true;
    }
@class
RGBLed
@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