Lines Matching refs:x

33 mxShapeBasicCross.prototype.paintVertexShape = function(c, x, y, w, h)  argument
35 c.translate(x, y);
66 return new mxPoint(bounds.x + bounds.width / 2 + dx, bounds.y + bounds.height / 2 - dx);
69 …nd(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x - bounds.width …
109 mxShapeBasicRectCallout.prototype.paintVertexShape = function(c, x, y, w, h) argument
111 c.translate(x, y);
147 return new mxPoint(bounds.x + dx, bounds.y + bounds.height - dy);
151 …this.state.style['dx'] = Math.round(100 * Math.max(y, Math.min(bounds.width - y, pt.x - bounds.x))…
216 mxShapeBasicRoundRectCallout.prototype.paintVertexShape = function(c, x, y, w, h) argument
218 c.translate(x, y);
256 return new mxPoint(bounds.x + dx, bounds.y + bounds.height - dy);
260 …this.state.style['dx'] = Math.round(100 * Math.max(y, Math.min(bounds.width - y, pt.x - bounds.x))…
266 return new mxPoint(bounds.x + bounds.width - size, bounds.y + 10);
270 …ax(0, Math.min(bounds.width / 2, (bounds.height - dy) / 2, bounds.x + bounds.width - pt.x))) / 100;
343 mxShapeBasicWave.prototype.paintVertexShape = function(c, x, y, w, h) argument
345 c.translate(x, y);
373 return new mxPoint(bounds.x + bounds.width / 2, bounds.y + dy * bounds.height);
440 mxShapeBasicOctagon.prototype.paintVertexShape = function(c, x, y, w, h) argument
442 c.translate(x, y);
471 return new mxPoint(bounds.x + dx, bounds.y + dx);
474 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
531 mxShapeBasicIsoCube.prototype.paintVertexShape = function(c, x, y, w, h) argument
533 c.translate(x, y);
570 return new mxPoint(bounds.x, bounds.y + isoH);
629 mxShapeBasicTriangleAcute.prototype.paintVertexShape = function(c, x, y, w, h) argument
631 c.translate(x, y);
653 return new mxPoint(bounds.x + dx * bounds.width, bounds.y + 10);
656 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
709 mxShapeBasicTriangleObtuse.prototype.paintVertexShape = function(c, x, y, w, h) argument
711 c.translate(x, y);
733 return new mxPoint(bounds.x + dx * bounds.width, bounds.y + bounds.height - 10);
736 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
784 mxShapeBasicDrop.prototype.paintVertexShape = function(c, x, y, w, h) argument
786 c.translate(x, y);
846 mxShapeBasicCone2.prototype.paintVertexShape = function(c, x, y, w, h) argument
848 c.translate(x, y);
884 return new mxPoint(bounds.x + dx * bounds.width, bounds.y + 10);
887 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
894 return new mxPoint(bounds.x + 10, bounds.y + dy * bounds.height);
958 mxShapeBasicPyramid.prototype.paintVertexShape = function(c, x, y, w, h) argument
960 c.translate(x, y);
993 return new mxPoint(bounds.x + dx1 * bounds.width, bounds.y + 10);
996 …this.state.style['dx1'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…
1003 return new mxPoint(bounds.x + dx2 * bounds.width, bounds.y + bounds.height - 10);
1006 …this.state.style['dx2'] = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…
1015 return new mxPoint(bounds.x + 10, bounds.y + dy1 * bounds.height);
1027 return new mxPoint(bounds.x + bounds.width - 10, bounds.y + dy2 * bounds.height);
1090 mxShapeBasic4PointStar2.prototype.paintVertexShape = function(c, x, y, w, h) argument
1092 c.translate(x, y);
1119 return new mxPoint(bounds.x + dx * bounds.width / 2, bounds.y + dx * bounds.height / 2);
1122 …this.state.style['dx'] = Math.round(100 * Math.max(0, Math.min(1, 2 * (pt.x - bounds.x) / bounds.w…
1177 mxShapeBasicDiagSnipRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1179 c.translate(x, y);
1206 return new mxPoint(bounds.x + dx, bounds.y + dx);
1209 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1266 mxShapeBasicDiagRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1268 c.translate(x, y);
1296 return new mxPoint(bounds.x + dx, bounds.y + dx);
1299 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1351 mxShapeBasicCornerRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
1353 c.translate(x, y);
1380 return new mxPoint(bounds.x + dx, bounds.y + dx);
1383 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1436 mxShapeBasicPlaque.prototype.paintVertexShape = function(c, x, y, w, h) argument
1438 c.translate(x, y);
1467 return new mxPoint(bounds.x + dx * 1.41, bounds.y + dx * 1.41);
1470 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1520 mxShapeBasicFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1522 c.translate(x, y);
1552 return new mxPoint(bounds.x + dx, bounds.y + dx);
1555 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
1634 mxShapeBasicPlaqueFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1636 c.translate(x, y);
1677 return new mxPoint(bounds.x + dx, bounds.y + dx);
1680 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1736 mxShapeBasicRoundedFrame.prototype.paintVertexShape = function(c, x, y, w, h) argument
1738 c.translate(x, y);
1779 return new mxPoint(bounds.x + dx, bounds.y + dx);
1782 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
1838 mxShapeBasicFrameCorner.prototype.paintVertexShape = function(c, x, y, w, h) argument
1840 c.translate(x, y);
1867 return new mxPoint(bounds.x + dx, bounds.y + dx);
1870 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
1929 mxShapeBasicDiagStripe.prototype.paintVertexShape = function(c, x, y, w, h) argument
1931 c.translate(x, y);
1956 return new mxPoint(bounds.x + dx, bounds.y + bounds.height);
1959 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
2015 mxShapeBasicDonut.prototype.paintVertexShape = function(c, x, y, w, h) argument
2017 c.translate(x, y);
2049 return new mxPoint(bounds.x + dx, bounds.y + bounds.height / 2);
2052 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
2090 mxShapeBasicLayeredRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
2092 c.translate(x, y);
2133 return new mxPoint(bounds.x + bounds.width - dx, bounds.y + bounds.height - dx);
2136 …Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, - pt.x + bounds.width + bounds.x))) / 10…
2204 mxShapeBasicButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
2206 c.translate(x, y);
2276 return new mxPoint(bounds.x + dx, bounds.y + dx);
2279 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
2317 mxShapeBasicShadedButton.prototype.paintVertexShape = function(c, x, y, w, h) argument
2319 c.translate(x, y);
2386 return new mxPoint(bounds.x + dx, bounds.y + dx);
2389 …ath.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width / 2, pt.x - bounds.x))) / 100;
2429 mxShapeBasicPie.prototype.paintVertexShape = function(c, x, y, w, h) argument
2431 c.translate(x, y);
2497 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(startAngle) * bounds.width * 0.5, boun…
2500 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2518 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(endAngle) * bounds.width * 0.5, bounds…
2521 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2573 mxShapeBasicArc.prototype.paintVertexShape = function(c, x, y, w, h) argument
2575 c.translate(x, y);
2639 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(startAngle) * bounds.width * 0.5, boun…
2642 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2660 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(endAngle) * bounds.width * 0.5, bounds…
2663 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2717 mxShapeBasicPartConcEllipse.prototype.paintVertexShape = function(c, x, y, w, h) argument
2719 c.translate(x, y);
2776 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(startAngle) * bounds.width * 0.5, boun…
2779 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2797 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(endAngle) * bounds.width * 0.5, bounds…
2800 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
2819 return new mxPoint(bounds.x + bounds.width / 2, bounds.y + arcWidth * bounds.height * 0.5);
2858 mxShapeBasicNumEntryVert.prototype.paintVertexShape = function(c, x, y, w, h) argument
2860 c.translate(x, y);
2892 return new mxPoint(bounds.x + bounds.width / 2, bounds.y + dy);
2931 mxShapeBasicBendingArch.prototype.paintVertexShape = function(c, x, y, w, h) argument
2933 c.translate(x, y);
2991 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(startAngle) * bounds.width * 0.5, boun…
2994 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
3012 …return new mxPoint(bounds.x + bounds.width * 0.5 + Math.sin(endAngle) * bounds.width * 0.5, bounds…
3015 …var handleX = Math.round(100 * Math.max(-1, Math.min(1, (pt.x - bounds.x - bounds.width * 0.5) / (…
3034 return new mxPoint(bounds.x + bounds.width / 2, bounds.y + arcWidth * bounds.height * 0.5);
3077 mxShapeBasicThreeCornerRoundRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
3079 c.translate(x, y);
3108 return new mxPoint(bounds.x + dx, bounds.y + dx);
3111 …ath.round(100 * Math.max(0, Math.min(bounds.height / 4, bounds.width / 4, pt.x - bounds.x))) / 100;
3163 mxShapeBasicPolygon.prototype.paintVertexShape = function(c, x, y, w, h) argument
3167 c.translate(x, y);
3214 … return new mxPoint(bounds.x + c[index][0] * bounds.width, bounds.y + c[index][1] * bounds.height);
3217 … var x = Math.round(100 * Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width))) / 100;
3220 c[index] = [x, y];
3283 mxShapeBasicPatternFillRect.prototype.paintVertexShape = function(c, x, y, w, h) argument
3285 c.translate(x, y);