Lines Matching refs:bounds

12 function mxShapeGmdlPlayer(bounds, fill, stroke, strokewidth)  argument
15 this.bounds = bounds;
77 function mxShapeGmdlSwitch(bounds, fill, stroke, strokewidth) argument
80 this.bounds = bounds;
172 function mxShapeGmdlMarginRect(bounds, fill, stroke, strokewidth) argument
175 this.bounds = bounds;
244 function mxShapeGmdlSliderNormal(bounds, fill, stroke, strokewidth) argument
247 this.bounds = bounds;
301 function mxShapeGmdlSlider2(bounds, fill, stroke, strokewidth) argument
304 this.bounds = bounds;
371 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
373 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
375 return new mxPoint(bounds.x + barPos * bounds.width / 100, bounds.y + bounds.height / 2);
376 }, function(bounds, pt)
378 …['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / bounds.width))) …
390 function mxShapeGmdlSliderFocused(bounds, fill, stroke, strokewidth) argument
393 this.bounds = bounds;
467 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
469 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
471 return new mxPoint(bounds.x + barPos * bounds.width / 100, bounds.y + bounds.height / 2);
472 }, function(bounds, pt)
474 …['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / bounds.width))) …
487 function mxShapeGmdlSliderDisabled(bounds, fill, stroke, strokewidth) argument
490 this.bounds = bounds;
563 function mxShapeGmdlSliderDisabled2(bounds, fill, stroke, strokewidth) argument
566 this.bounds = bounds;
636 var handles = [Graph.createHandle(state, ['hPos'], function(bounds)
638 …var hPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'hPos'…
640 return new mxPoint(bounds.x + hPos * bounds.width / 100, bounds.y + bounds.height / 2);
641 }, function(bounds, pt)
643 …le['hPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / bounds.width))) …
655 function mxShapeGmdlSliderDiscrete(bounds, fill, stroke, strokewidth) argument
658 this.bounds = bounds;
735 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
737 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
739 return new mxPoint(bounds.x + barPos * bounds.width / 100, bounds.y + bounds.height / 2 + 22.5);
740 }, function(bounds, pt)
742 …['barPos'] = Math.round(100 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / bounds.width))) …
754 function mxShapeGmdlSliderDiscreteDots(bounds, fill, stroke, strokewidth) argument
757 this.bounds = bounds;
868 var handles = [Graph.createHandle(state, ['barPos'], function(bounds)
870 …var barPos = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'bar…
872 return new mxPoint(bounds.x + barPos * bounds.width / 100, bounds.y + bounds.height / 2 + 22.5);
873 }, function(bounds, pt)
875 …'barPos'] = Math.round(0.05 * Math.max(0, Math.min(100, (pt.x - bounds.x) * 100 / bounds.width))) …
887 function mxShapeGmdlProgressBar(bounds, fill, stroke, strokewidth) argument
890 this.bounds = bounds;
943 var handles = [Graph.createHandle(state, ['dx1'], function(bounds)
947 return new mxPoint(bounds.x + dx1 * bounds.width, bounds.y + bounds.height / 2);
948 }, function(bounds, pt)
950 …this.state.style['dx1'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…
953 var handle2 = Graph.createHandle(state, ['dx2'], function(bounds) argument
957 return new mxPoint(bounds.x + dx2 * bounds.width, bounds.y + bounds.height / 2);
958 }, function(bounds, pt) argument
960 …this.state.style['dx2'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…