Lines Matching refs:dims
519 this.getLTRBWH=function(elt){var bcrect,dims={left:0,top:0,right:0,bottom:0,width:0,height:0};
521 dims.left=bcrect.left;
522 dims.top=bcrect.top;
523 dims.right=bcrect.right;
524 dims.bottom=bcrect.bottom;
525 if(bcrect.width){dims.width=bcrect.width;
526 dims.height=bcrect.height
527 }else{dims.width=dims.right-dims.left;
528 dims.height=dims.bottom-dims.top
529 }}return dims