setSize() {
        this.elementWidth = this.cols * 10;
        this.elementHeight = this.rows * 10;
        this.upDimensionY = 0;
        this.leftDimensionX = 0;
        this.rightDimensionX = this.elementWidth;
        this.downDimensionY = this.elementHeight;
    }
@memberof Rectangle
function to reset or (internally) set size