Searched refs:inUnit (Results 1 – 2 of 2) sorted by relevance
2392 BaseFormatPanel.prototype.inUnit = function(pixels) method in BaseFormatPanel2620 width.value = this.inUnit(rect.width) + ((rect.width == '') ? '' : ' ' + this.getUnit());2625 height.value = this.inUnit(rect.height) + ((rect.height == '') ? '' : ' ' + this.getUnit());2640 left.value = this.inUnit(rect.x) + ((rect.x == '') ? '' : ' ' + this.getUnit());2645 top.value = this.inUnit(rect.y) + ((rect.y == '') ? '' : ' ' + this.getUnit());6799 input.value = this.inUnit(graph.getGridSize()) + ' ' + this.getUnit(); 6823 value = fPanel.fromUnit(Math.max(fPanel.inUnit(1), (isNaN(value)) ? fPanel.inUnit(10) : value));6831 input.value = fPanel.inUnit(value) + ' ' + fPanel.getUnit();
3039 …return"mm";case mxConstants.METERS:return"m"}};BaseFormatPanel.prototype.inUnit=function(a){return…3048 …inUnit(f.width)+(""==f.width?"":" "+this.getUnit());if(c||document.activeElement!=q)q.value=this.i…3049 if(c||document.activeElement!=z)z.value=this.inUnit(f.y)+(""==f.y?"":" "+this.getUnit())}else w.sty…3231 …Unit(Math.max(d.inUnit(1),isNaN(b)?d.inUnit(10):b));b!=c.getGridSize()&&(mxGraph.prototype.gridSiz…3232 …";f.style.borderRadius="4px";f.style.boxSizing="border-box";f.value=this.inUnit(c.getGridSize())+"…