Lines Matching refs:bounds

12 function mxShapeArrows2Arrow(bounds, fill, stroke, strokewidth)  argument
15 this.bounds = bounds;
150 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
152 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
155 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + dy * bounds.height / 2);
156 }, function(bounds, pt)
158 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
159 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.hei…
162 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
164 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
166 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
167 }, function(bounds, pt) argument
169 …und(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx', …
205 function mxShapeArrows2TwoWayArrow(bounds, fill, stroke, strokewidth) argument
208 this.bounds = bounds;
298 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
300 …var dx = Math.max(0, Math.min(bounds.width / 2, parseFloat(mxUtils.getValue(this.state.style, 'dx'…
303 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + dy * bounds.height / 2);
304 }, function(bounds, pt)
306 ….state.style['dx'] = Math.round(100 * Math.max(0, Math.min(bounds.width / 2, bounds.x + bounds.wid…
307 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.hei…
342 function mxShapeArrows2StylisedArrow(bounds, fill, stroke, strokewidth) argument
345 this.bounds = bounds;
404 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
406 …var dx = Math.max(0, Math.min(bounds.width - 10, parseFloat(mxUtils.getValue(this.state.style, 'dx…
409 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + dy * bounds.height / 2);
410 }, function(bounds, pt)
412 …max(0, Math.min(bounds.width - 10, bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'n…
413 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.hei…
416 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
418 …var notch = Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx'…
420 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
421 }, function(bounds, pt) argument
423 …und(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx', …
428 var handle3 = Graph.createHandle(state, ['feather'], function(bounds) argument
432 return new mxPoint(bounds.x, bounds.y + feather * bounds.height / 2);
433 }, function(bounds, pt) argument
435 …le['feather'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.height) * 2)…
472 function mxShapeArrows2SharpArrow(bounds, fill, stroke, strokewidth) argument
475 this.bounds = bounds;
544 var handles = [Graph.createHandle(state, ['dx1', 'dy1'], function(bounds)
546 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
549 return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + dy1 * bounds.height / 2);
550 }, function(bounds, pt)
552 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
553 …this.state.style['dy1'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.he…
556 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
558 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
560 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
561 }, function(bounds, pt) argument
563 …nd(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
568 var handle3 = Graph.createHandle(state, ['dx2'], function(bounds) argument
570 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
572 return new mxPoint(bounds.x + bounds.width - dx2, bounds.y);
573 }, function(bounds, pt) argument
575 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
621 function mxShapeArrows2SharpArrow2(bounds, fill, stroke, strokewidth) argument
624 this.bounds = bounds;
694 var handles = [Graph.createHandle(state, ['dx1', 'dy1'], function(bounds)
696 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
699 return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + dy1 * bounds.height / 2);
700 }, function(bounds, pt)
702 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
703 …this.state.style['dy1'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.he…
706 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
708 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
710 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
711 }, function(bounds, pt) argument
713 …nd(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
718 var handle3 = Graph.createHandle(state, ['dx2'], function(bounds) argument
720 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
722 return new mxPoint(bounds.x + bounds.width - dx2, bounds.y);
723 }, function(bounds, pt) argument
725 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
730 var handle4 = Graph.createHandle(state, ['dx3', 'dy3'], function(bounds) argument
732 …var dx3 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx3', …
735 return new mxPoint(bounds.x + bounds.width - dx3, bounds.y + dy3 * bounds.height / 2);
736 }, function(bounds, pt) argument
738 …Utils.getValue(this.state.style, 'dx2', this.dx2)), Math.min(bounds.width, bounds.x + bounds.width…
739 …at(mxUtils.getValue(this.state.style, 'dy1', this.dy1)), (((pt.y - bounds.y) / bounds.height) * 2)…
781 function mxShapeArrows2CalloutArrow(bounds, fill, stroke, strokewidth) argument
784 this.bounds = bounds;
846 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
848 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
849 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
850 …var dy = Math.max(0, Math.min(bounds.height / 2 - arrowHead, parseFloat(mxUtils.getValue(this.stat…
852 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy);
853 }, function(bounds, pt)
855 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
856 …th.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', …
860 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
862 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
864 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
865 }, function(bounds, pt) argument
867 …und(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx', …
872 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
874 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', …
875 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
876 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
878 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy - arrowHead);
879 }, function(bounds, pt) argument
881 …00 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy', …
922 function mxShapeArrows2BendArrow(bounds, fill, stroke, strokewidth) argument
925 this.bounds = bounds;
1008 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1010 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
1011 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1014 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead / 2 - dy);
1015 }, function(bounds, pt)
1017 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dy', this.…
1018 …at(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2, bounds.y + parseFloat(mxU…
1022 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
1024 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
1027 …var notch = Math.max(0, Math.min(bounds.height - arrowHead / 2 - dy, parseFloat(mxUtils.getValue(t…
1029 return new mxPoint(bounds.x + dy, bounds.y + bounds.height - notch);
1030 }, function(bounds, pt) argument
1032bounds.height - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2 - …
1037 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1039 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1040 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
1042 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead);
1043 }, function(bounds, pt) argument
1045 …(mxUtils.getValue(this.state.style, 'dy', this.dy)), Math.min(bounds.height, pt.y - bounds.y))) / …
1095 function mxShapeArrows2BendDoubleArrow(bounds, fill, stroke, strokewidth) argument
1098 this.bounds = bounds;
1181 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1183 …var arrowHead = Math.max(0, Math.min(Math.min(bounds.height, bounds.width) - parseFloat(mxUtils.ge…
1184 …var dx = Math.max(0, Math.min(Math.min(bounds.width, bounds.height) - arrowHead, parseFloat(mxUtil…
1187 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead / 2 - dy);
1188 }, function(bounds, pt)
1190 ….min(Math.min(bounds.width, bounds.height) - parseFloat(mxUtils.getValue(this.state.style, 'arrowH…
1191 …at(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2, bounds.y + parseFloat(mxU…
1195 var handle2 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1197 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1198 …var arrowHead = Math.max(0, Math.min(Math.min(bounds.height, bounds.width) - dx, parseFloat(mxUtil…
1200 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead);
1201 }, function(bounds, pt) argument
1203 …y)), Math.min(Math.min(bounds.height, bounds.width) - parseFloat(mxUtils.getValue(this.state.style…
1253 function mxShapeArrows2CalloutDoubleArrow(bounds, fill, stroke, strokewidth) argument
1256 this.bounds = bounds;
1325 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1327 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1328 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1329 …var dy = Math.max(0, Math.min(bounds.height / 2 - arrowHead, parseFloat(mxUtils.getValue(this.stat…
1331 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy);
1332 }, function(bounds, pt)
1334 … * Math.max(0, Math.min(bounds.width / 2 - parseFloat(mxUtils.getValue(this.state.style, 'notch', …
1335 …th.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', …
1339 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
1341 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
1343 return new mxPoint(bounds.x + bounds.width / 2 + notch, bounds.y + bounds.height / 2);
1344 }, function(bounds, pt) argument
1346 …* Math.max(0, Math.min(bounds.width / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dx', this…
1351 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1353 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', …
1354 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1355 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1357 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy - arrowHead);
1358 }, function(bounds, pt) argument
1360 …00 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy', …
1402 function mxShapeArrows2CalloutQuadArrow(bounds, fill, stroke, strokewidth) argument
1405 this.bounds = bounds;
1488 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1490 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1491 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1492 …var dy = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'dy', t…
1494 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy);
1495 }, function(bounds, pt)
1497bounds.width, bounds.height) / 2 - Math.max(parseFloat(mxUtils.getValue(this.state.style, 'notch',…
1498 …arseFloat(mxUtils.getValue(this.state.style, 'notch', this.notch)), bounds.y + bounds.height / 2 -…
1502 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
1504 …ils.getValue(this.state.style, 'dy', this.dy)), Math.min(Math.min(bounds.width, bounds.height), pa…
1506 return new mxPoint(bounds.x + bounds.width / 2 + notch, bounds.y + bounds.height / 2);
1507 }, function(bounds, pt) argument
1509 …h.min(Math.min(bounds.width, bounds.height) / 2 - parseFloat(mxUtils.getValue(this.state.style, 'd…
1514 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1516 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', …
1517 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1518 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1520 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy - arrowHead);
1521 }, function(bounds, pt) argument
1523 …00 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy', …
1581 function mxShapeArrows2CalloutDouble90Arrow(bounds, fill, stroke, strokewidth) argument
1584 this.bounds = bounds;
1656 var handles = [Graph.createHandle(state, ['dx1', 'dy1'], function(bounds)
1659 …var dx1 = Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx2',…
1662 …return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + parseFloat(mxUtils.getValue(this.stat…
1663 }, function(bounds, pt)
1665bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx2', this.dx2)), bounds.height - pa…
1666 …eFloat(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)), bounds.y + parseFloat(mxU…
1670 var handle2 = Graph.createHandle(state, ['dx2', 'dy2'], function(bounds) argument
1672 …Utils.getValue(this.state.style, 'arrowHead', this.arrowHead)), Math.min(bounds.width - parseFloat…
1673 …Utils.getValue(this.state.style, 'arrowHead', this.arrowHead)), Math.min(bounds.height - parseFloa…
1675 return new mxPoint(bounds.x + dx2, bounds.y + dy2);
1676 }, function(bounds, pt) argument
1678 …', this.arrowHead)), Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
1679 …, this.arrowHead)), Math.min(bounds.height - parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
1684 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1686 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1'…
1690 …return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + parseFloat(mxUtils.getValue(this.stat…
1691 }, function(bounds, pt) argument
1693 …) / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy1', this.dy1)), bounds.y + parseFloat(mxU…
1735 function mxShapeArrows2QuadArrow(bounds, fill, stroke, strokewidth) argument
1738 this.bounds = bounds;
1811 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1813 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1814 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1815 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.style, 'dy…
1817 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy);
1818 }, function(bounds, pt)
1820bounds.width, bounds.height) / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy', this.dy)) -…
1821 …th.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', …
1825 var handle2 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1827 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', …
1828 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1829 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1831 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height / 2 - dy - arrowHead);
1832 }, function(bounds, pt) argument
1834 …00 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy', …
1879 function mxShapeArrows2TriadArrow(bounds, fill, stroke, strokewidth) argument
1882 this.bounds = bounds;
1947 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
1949 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1950 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
1953 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height - dy);
1954 }, function(bounds, pt)
1956bounds.height - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)), bound…
1957 …Utils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2, bounds.y + bounds.height - pt.…
1961 var handle2 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
1963 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', …
1964 …var dy = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
1965 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
1967 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height - arrowHead);
1968 }, function(bounds, pt) argument
1970bounds.height - parseFloat(mxUtils.getValue(this.state.style, 'dx', this.dx)), bounds.width - pars…
2011 function mxShapeArrows2TailedArrow(bounds, fill, stroke, strokewidth) argument
2014 this.bounds = bounds;
2087 var handles = [Graph.createHandle(state, ['dx1', 'dy1'], function(bounds)
2089 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
2090 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
2091 …var dy1 = Math.max(0, Math.min(bounds.height / 2 - arrowHead, parseFloat(mxUtils.getValue(this.sta…
2093 return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + bounds.height / 2 - dy1);
2094 }, function(bounds, pt)
2096bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', this.notch)), bounds.width -…
2097bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)), p…
2101 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
2103 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
2105 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
2106 }, function(bounds, pt) argument
2108bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', this.dx1)), parseFloat(mxUtils…
2113 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
2115 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1'…
2116 …var dy1 = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.st…
2117 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
2119 … return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + bounds.height / 2 - dy1 - arrowHead);
2120 }, function(bounds, pt) argument
2122 …0 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy1', …
2127 var handle4 = Graph.createHandle(state, ['dx2', 'dy2'], function(bounds) argument
2129 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
2130 …var dy2 = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.style, 'd…
2132 return new mxPoint(bounds.x + dx2, bounds.y + bounds.height / 2 - dy2);
2133 }, function(bounds, pt) argument
2135bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', this.dx1)) - parseFloat(mxUtil…
2136 …ls.getValue(this.state.style, 'dy1', this.dy1)), Math.min(bounds.height / 2, bounds.y + bounds.hei…
2181 function mxShapeArrows2TailedNotchedArrow(bounds, fill, stroke, strokewidth) argument
2184 this.bounds = bounds;
2257 var handles = [Graph.createHandle(state, ['dx1', 'dy1'], function(bounds)
2259 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
2260 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
2261 …var dy1 = Math.max(0, Math.min(bounds.height / 2 - arrowHead, parseFloat(mxUtils.getValue(this.sta…
2263 return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + bounds.height / 2 - dy1);
2264 }, function(bounds, pt)
2266bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', this.notch))- parseFloat(mxU…
2267bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)), p…
2271 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
2273 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
2275 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
2276 }, function(bounds, pt) argument
2278 …nd(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx1', …
2283 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
2285 …var dx1 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx1'…
2286 …var dy1 = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.st…
2287 …var arrowHead = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.sty…
2289 … return new mxPoint(bounds.x + bounds.width - dx1, bounds.y + bounds.height / 2 - dy1 - arrowHead);
2290 }, function(bounds, pt) argument
2292 …0 * Math.max(0, Math.min(bounds.height / 2 - parseFloat(mxUtils.getValue(this.state.style, 'dy1', …
2297 var handle4 = Graph.createHandle(state, ['dx2', 'dy2'], function(bounds) argument
2299 …var dx2 = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx2', …
2300 …var dy2 = Math.max(0, Math.min(bounds.height / 2, parseFloat(mxUtils.getValue(this.state.style, 'd…
2302 return new mxPoint(bounds.x + dx2, bounds.y + bounds.height / 2 - dy2);
2303 }, function(bounds, pt) argument
2305bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', this.notch)) - parseFloat(mx…
2306 …ls.getValue(this.state.style, 'dy1', this.dy1)), Math.min(bounds.height / 2, bounds.y + bounds.hei…
2351 function mxShapeArrows2StripedArrow(bounds, fill, stroke, strokewidth) argument
2354 this.bounds = bounds;
2419 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
2421 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
2424 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + dy * bounds.height / 2);
2425 }, function(bounds, pt)
2427 …00 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'notch', th…
2428 …this.state.style['dy'] = Math.round(100 * Math.max(0, Math.min(1, (((pt.y - bounds.y) / bounds.hei…
2431 var handle2 = Graph.createHandle(state, ['notch'], function(bounds) argument
2433 …var notch = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'notc…
2435 return new mxPoint(bounds.x + notch, bounds.y + bounds.height / 2);
2436 }, function(bounds, pt) argument
2438 …und(100 * Math.max(0, Math.min(bounds.width - parseFloat(mxUtils.getValue(this.state.style, 'dx', …
2473 function mxShapeArrows2JumpInArrow(bounds, fill, stroke, strokewidth) argument
2476 this.bounds = bounds;
2530 var handles = [Graph.createHandle(state, ['dx', 'dy'], function(bounds)
2532 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2533 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
2536 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead / 2 - dy);
2537 }, function(bounds, pt)
2539 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(bounds.width, bounds.x + bounds.wid…
2540 …at(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2, bounds.y + parseFloat(mxU…
2544 var handle2 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
2546 …var dx = Math.max(0, Math.min(bounds.width, parseFloat(mxUtils.getValue(this.state.style, 'dx', th…
2547 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2549 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + arrowHead);
2550 }, function(bounds, pt) argument
2552 …(mxUtils.getValue(this.state.style, 'dy', this.dy)), Math.min(bounds.height, pt.y - bounds.y))) / …
2581 function mxShapeArrows2UTurnArrow(bounds, fill, stroke, strokewidth) argument
2584 this.bounds = bounds;
2642 var handles = [Graph.createHandle(state, ['dy'], function(bounds)
2644 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2646 var dx = (bounds.height - arrowHead / 2 + dy) / 2;
2648 return new mxPoint(bounds.x + dx, bounds.y + arrowHead / 2 - dy);
2649 }, function(bounds, pt)
2651 …at(mxUtils.getValue(this.state.style, 'arrowHead', this.arrowHead)) / 2, bounds.y + parseFloat(mxU…
2655 var handle2 = Graph.createHandle(state, ['dx2'], function(bounds) argument
2657 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2659 var dx = (bounds.height - arrowHead / 2 + dy) / 2;
2661 …var dx2 = Math.max(0, Math.min(bounds.width - dx, parseFloat(mxUtils.getValue(this.state.style, 'd…
2663 return new mxPoint(bounds.x + dx + dx2, bounds.y + arrowHead / 2);
2664 }, function(bounds, pt) argument
2666 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2668 var dx = (bounds.height - arrowHead / 2 + dy) / 2;
2669 …yle['dx2'] = Math.round(100 * Math.max(0, Math.min(Math.max(bounds.width, dx), pt.x - bounds.x - d…
2674 var handle3 = Graph.createHandle(state, ['arrowHead'], function(bounds) argument
2676 …var arrowHead = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, …
2678 var dx = (bounds.height - arrowHead / 2 + dy) / 2;
2680 return new mxPoint(bounds.x + dx, bounds.y + arrowHead);
2681 }, function(bounds, pt) argument
2683 …xUtils.getValue(this.state.style, 'dy', this.dy)), Math.min(bounds.height / 2, pt.y - bounds.y))) …