Lines Matching refs:min

273 	barPos = Math.min(barPos, 100);
290 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
295 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
323 {name: 'barPos', dispName: 'Handle Position', type: 'float', min:0, max:1, defVal:30},
346 barPos = Math.min(barPos, 100);
370 …var barPos = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'barPos', thi…
375 …this.state.style['barPos'] = Math.round(1000 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 /…
664 var rSize = Math.min(h * 0.5, w * 0.05);
831 var rSize = Math.min(w, h) * 0.1;
838 c.setFontSize(Math.min(h * 0.7, w * 0.1));
898 var rSize = Math.min(w, h) * 0.1;
905 c.setFontSize(Math.min(h * 0.7, w * 0.1));
1054 {name: 'rSize', dispName: 'Arc Size', type: 'float', min:0, defVal:3}
1099 {name: 'rSize', dispName: 'Arc Size', type: 'float', min:0, defVal:3}
1152 {name: 'rSize', dispName: 'Arc Size', type: 'float', min:0, defVal:3}
1205 {name: 'rSize', dispName: 'Arc Size', type: 'float', min:0, defVal:3}
1258 {name: 'rSize', dispName: 'Arc Size', type: 'float', min:0, defVal:3},
1352 {name: 'rx', dispName: 'Hor. Rounding Size', type: 'float', min:0, defVal:3},
1353 {name: 'ry', dispName: 'Ver. Rounding Size', type: 'float', min:0, defVal:3},
1354 {name: 'rectMargin', dispName: 'Global Margin', type: 'float', min:0, defVal:5},
1355 {name: 'rectMarginTop', dispName: 'Top Margin', type: 'float', min:0, defVal:0},
1356 {name: 'rectMarginLeft', dispName: 'Left Margin', type: 'float', min:0, defVal:0},
1357 {name: 'rectMarginBottom', dispName: 'Bottom Margin', type: 'float', min:0, defVal:0},
1358 {name: 'rectMarginRight', dispName: 'Right Margin', type: 'float', min:0, defVal:0}
1498 {name: 'dx', dispName: 'Callout Position', type: 'float', min:0, defVal:120},
1499 {name: 'dx2', dispName: 'Field Size', type: 'float', min:0, defVal: 75},
1500 {name: 'size', dispName: 'Rounding size', type: 'float', min:0, defVal:5},
1501 {name: 'dy', dispName: 'Callout Size', type: 'float', min:0, defVal:5}
1513 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
1514 var dx2 = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx2', this.dx2))));
1515 var r = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1516 …var dy = Math.max(0, Math.min(h, (w - Math.max(20, r) - r) / 2, parseFloat(mxUtils.getValue(this.s…
1518 r = Math.min(h / 2, w / 2, r);
1520 dx = Math.min(w - r - dy, w - 20 - dy, dx);
1558 var w1 = Math.min(Math.max(20, r), h);
1579 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1585 …this.state.style['dx'] = Math.round(100 * Math.max(y, Math.min(bounds.width - y, pt.x - bounds.x))…
1590 …var dy = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'dy', t…
1595 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(bounds.height, pt.y - bounds.y - bo…
1602 …var size = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'size'…
1607 …this.state.style['size'] = Math.round(100 * Math.max(0, Math.min(bounds.width / 2, bounds.height /…
1614 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
1619 …this.state.style['dx2'] = Math.round(100 * Math.max(0, Math.min(bounds.width, pt.x - bounds.x))) /…
1656 {name: 'barPos', dispName: 'Handle Position', type: 'float', min:0, max:1, defVal:20},
1657 {name: 'handleSize', dispName: 'Handle Size', type: 'float', min:0, defVal:10}
1678 barPos = Math.max(0, Math.min(1, barPos));
1709 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
1714 …this.state.style['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / …