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