setFontSize(fontSize = 14) {
        this.fontSize = fontSize;
        var ctx = simulationArea.context;
        ctx.font = `${this.fontSize}px Raleway`;
        this.setTextboxSize();
    }
@memberof Text
function for setting font size inside the element
@param {number=} str - the font size