var wF=(this.node.parentNode.clientWidth-5)/this.size.w; var hF=(this.node.parentNode.clientHeight-5)/this.size.h; return Math.min(wF, hF)*100;