Lines Matching refs:style

23 				if (this.style != null)
25 events = mxUtils.getValue(this.style, mxConstants.STYLE_POINTER_EVENTS, '1') == '1';
33 var evenRowColor = mxUtils.getValue(state.style,
35 var oddRowColor = mxUtils.getValue(state.style,
37 var evenColColor = mxUtils.getValue(state.style,
39 var oddColColor = mxUtils.getValue(state.style,
186 var rowLines = mxUtils.getValue(this.state.style,
188 var columnLines = mxUtils.getValue(this.state.style,
305 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
306 …var op = Math.max(-1, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'darkOpacity', this.dark…
307 …var op2 = Math.max(-1, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'darkOpacity2', this.da…
364 if (mxUtils.getValue(this.style, 'boundedLbl', false))
366 var s = parseFloat(mxUtils.getValue(this.style, 'size', this.size)) * this.scale;
392 …var s = Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size)) - 2) + 2 * this.st…
538 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
539 …var op = Math.max(-1, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'darkOpacity', this.dark…
591 if (mxUtils.getValue(this.style, 'boundedLbl', false))
593 var size = mxUtils.getValue(this.style, 'size', 15);
611 …var isoAngle = Math.max(0.01, Math.min(94, parseFloat(mxUtils.getValue(this.style, 'isoAngle', thi…
651 …var size = Math.max(0, Math.min(h * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', this.size…
700 …var size = Math.max(0, Math.min(h * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', this.size…
701 var lid = mxUtils.getValue(this.style, 'lid', true);
782 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
783 …var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'tabHeight', this.tabHeig…
784 var tp = mxUtils.getValue(this.style, 'tabPosition', this.tabPosition);
785 var rounded = mxUtils.getValue(this.style, 'rounded', false);
786 var absArcSize = mxUtils.getValue(this.style, 'absoluteArcSize', false);
787 var arcSize = parseFloat(mxUtils.getValue(this.style, 'arcSize', this.arcSize));
846 var sym = mxUtils.getValue(this.style, 'folderSymbol', null);
863 if (mxUtils.getValue(this.style, 'boundedLbl', false))
865 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
867 if (mxUtils.getValue(this.style, 'labelInHeader', false))
869 var sizeX = mxUtils.getValue(this.style, 'tabWidth', 15) * this.scale;
870 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
871 var rounded = mxUtils.getValue(this.style, 'rounded', false);
872 var absArcSize = mxUtils.getValue(this.style, 'absoluteArcSize', false);
873 var arcSize = parseFloat(mxUtils.getValue(this.style, 'arcSize', this.arcSize));
887 if (mxUtils.getValue(this.style, 'tabPosition', this.tabPosition) == 'left')
919 var rounded = mxUtils.getValue(this.style, 'rounded', false);
920 var absArcSize = mxUtils.getValue(this.style, 'absoluteArcSize', false);
921 var arcSize = parseFloat(mxUtils.getValue(this.style, 'arcSize', this.arcSize));
922 var connPoint = mxUtils.getValue(this.style, 'umlStateConnection', null);
957 var sym = mxUtils.getValue(this.style, 'umlStateSymbol', null);
992 if (mxUtils.getValue(this.style, 'boundedLbl', false))
994 var connPoint = mxUtils.getValue(this.style, 'umlStateConnection', null);
1020 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
1021 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1038 …var dy = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1054 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1056 var size = mxUtils.getValue(this.style, 'size', this.size);
1090 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1093 this.style, 'size', this.size)) * rect.height);
1100 …var dy = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1119 var size = mxUtils.getValue(this.style, 'size');
1133 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1135 var size = mxUtils.getValue(this.style, 'size', 0.15) * 2;
1145 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1147 var size = mxUtils.getValue(this.style, 'size', 15);
1149 if (!mxUtils.getValue(this.style, 'lid', true))
1162 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1164 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
1166 if (mxUtils.getValue(this.style, 'labelInHeader', false))
1168 var sizeX = mxUtils.getValue(this.style, 'tabWidth', 15) * this.scale;
1169 var sizeY = mxUtils.getValue(this.style, 'tabHeight', 15) * this.scale;
1170 var rounded = mxUtils.getValue(this.style, 'rounded', false);
1171 var absArcSize = mxUtils.getValue(this.style, 'absoluteArcSize', false);
1172 var arcSize = parseFloat(mxUtils.getValue(this.style, 'arcSize', this.arcSize));
1186 if (mxUtils.getValue(this.style, 'tabPosition', this.tabPosition) == 'left')
1206 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1208 var connPoint = mxUtils.getValue(this.style, 'umlStateConnection', null);
1221 if (mxUtils.getValue(this.style, 'boundedLbl', false))
1223 var size = mxUtils.getValue(this.style, 'size', 15);
1245 var fixed = mxUtils.getValue(this.style, 'fixedSize', '0') != '0';
1247 …at(mxUtils.getValue(this.style, 'size', this.fixedSize)))) : w * Math.max(0, Math.min(1, parseFloa…
1248 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1271 var fixed = mxUtils.getValue(this.style, 'fixedSize', '0') != '0';
1273 …t(mxUtils.getValue(this.style, 'size', this.fixedSize)))) : w * Math.max(0, Math.min(0.5, parseFlo…
1274 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1291 var s = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1292 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1493 return new HandJiggle(c, mxUtils.getValue(this.style, 'jiggle', this.defaultJiggle));
1499 if (!this.outline && this.style != null && mxUtils.getValue(this.style, 'comic', '0') != '0')
1514 …return !this.outline && (this.style == null || (mxUtils.getValue(this.style, 'comic', '0') == '0' …
1515 mxUtils.getValue(this.style, 'sketch', (urlParams['rough'] == '1') ? '1' : '0') == '0')) &&
1530 if (this.style != null)
1532 events = mxUtils.getValue(this.style, mxConstants.STYLE_POINTER_EVENTS, '1') == '1';
1549 if (mxUtils.getValue(this.style, mxConstants.STYLE_ABSOLUTE_ARCSIZE, 0) == '1')
1551 r = Math.min(w / 2, Math.min(h / 2, mxUtils.getValue(this.style,
1556 var f = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE,
1605 if (mxUtils.getValue(this.state.style, mxConstants.STYLE_HORIZONTAL, true) ==
1614 …var inset = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size)…
1618 var f = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE,
1634 var isFixedSize = mxUtils.getValue(this.style, 'fixedSize', this.fixedSize);
1635 var inset = parseFloat(mxUtils.getValue(this.style, 'size', this.size));
1648 var f = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE,
1699 this.style, 'size', this.size)) * this.scale);
1707 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1708 var s = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1709 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
1710 …var dx2 = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position2', this.po…
1711 var base = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'base', this.base))));
1735 var fixed = mxUtils.getValue(this.style, 'fixedSize', '0') != '0';
1736 …var s = (fixed) ? Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.fix…
1737 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1738 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1760 var fixed = mxUtils.getValue(this.style, 'fixedSize', '0') != '0';
1761 …var s = (fixed) ? Math.max(0, Math.min(w * 0.5, parseFloat(mxUtils.getValue(this.style, 'size', th…
1762 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
1763 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
1800 if (this.style['double'] == 1)
1803 this.style[mxConstants.STYLE_MARGIN] || 0)) * this.scale;
1815 if (!this.outline && this.style['double'] == 1)
1818 parseFloat(this.style[mxConstants.STYLE_MARGIN] || 0);
1847 if (this.style['double'] == 1)
1850 this.style[mxConstants.STYLE_MARGIN] || 0)) * this.scale;
1861 if (this.style != null)
1863 if (!this.outline && this.style['double'] == 1)
1865 …var margin = Math.max(2, this.strokewidth + 1) + parseFloat(this.style[mxConstants.STYLE_MARGIN] |…
1887 shape = mxCellRenderer.defaultShapes[this.style['symbol' + counter]];
1891 var align = this.style['symbol' + counter + 'Align'];
1892 var valign = this.style['symbol' + counter + 'VerticalAlign'];
1893 var width = this.style['symbol' + counter + 'Width'];
1894 var height = this.style['symbol' + counter + 'Height'];
1895 var spacing = this.style['symbol' + counter + 'Spacing'] || 0;
1896 var vspacing = this.style['symbol' + counter + 'VSpacing'] || spacing;
1897 var arcspacing = this.style['symbol' + counter + 'ArcSpacing'];
1940 tmp.style = this.style;
2147 mxUtils.getValue(this.style, 'size', this.size)) * this.scale));
2153 var size = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
2154 var participant = mxUtils.getValue(this.style, 'participant');
2176 c.setDashed(mxUtils.getValue(this.style, 'lifelineDashed', '1') == '1');
2186 var size = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
2204 rect.width - (parseFloat(mxUtils.getValue(this.style, 'width', this.width) * this.scale)),
2205 rect.height - (parseFloat(mxUtils.getValue(this.style, 'height', this.height) * this.scale)));
2210 var w0 = Math.min(w, Math.max(co, parseFloat(mxUtils.getValue(this.style, 'width', this.width))));
2211 …var h0 = Math.min(h, Math.max(co * 1.5, parseFloat(mxUtils.getValue(this.style, 'height', this.hei…
2212 var bg = mxUtils.getValue(this.style, mxConstants.STYLE_SWIMLANE_FILLCOLOR, mxConstants.NONE);
2264 size = mxUtils.getValue(vertex.style, 'size', size) * vertex.view.scale;
2267 …var sw = (parseFloat(vertex.style[mxConstants.STYLE_STROKEWIDTH] || 1) * vertex.view.scale / 2) - …
2292 …var sw = (parseFloat(vertex.style[mxConstants.STYLE_STROKEWIDTH] || 1) * vertex.view.scale / 2) - …
2294 if (vertex.style['backboneSize'] != null)
2296 sw += (parseFloat(vertex.style['backboneSize']) * vertex.view.scale / 2) - 1;
2299 if (vertex.style[mxConstants.STYLE_DIRECTION] == 'south' ||
2300 vertex.style[mxConstants.STYLE_DIRECTION] == 'north')
2330 Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(vertex.style, 'size',
2332 vertex.style), vertex, next, orthogonal);
2340 var fixed = mxUtils.getValue(vertex.style, 'fixedSize', '0') != '0';
2345 size = mxUtils.getValue(vertex.style, 'size', size);
2359 vertex.style, mxConstants.STYLE_DIRECTION,
2403 var fixed = mxUtils.getValue(vertex.style, 'fixedSize', '0') != '0';
2408 size = mxUtils.getValue(vertex.style, 'size', size);
2422 vertex.style, mxConstants.STYLE_DIRECTION,
2476 var fixed = mxUtils.getValue(vertex.style, 'fixedSize', '0') != '0';
2481 size = mxUtils.getValue(vertex.style, 'size', size);
2498 vertex.style, mxConstants.STYLE_DIRECTION,
2553 var fixed = mxUtils.getValue(vertex.style, 'fixedSize', '0') != '0';
2558 size = mxUtils.getValue(vertex.style, 'size', size);
2575 vertex.style, mxConstants.STYLE_DIRECTION,
2624 var sz = parseFloat(mxUtils.getValue(this.style, 'size', this.size));
2649 var sz = parseFloat(mxUtils.getValue(this.style, 'size', this.size));
2650 var inset = parseFloat(mxUtils.getValue(this.style, 'inset', this.inset)) + this.strokewidth;
2699 var inset = parseFloat(mxUtils.getValue(this.style, 'inset', this.inset)) + this.strokewidth;
2725 var dx = parseFloat(mxUtils.getValue(this.style, 'jettyWidth', this.jettyWidth));
2726 var dy = parseFloat(mxUtils.getValue(this.style, 'jettyHeight', this.jettyHeight));
2775 var dx = parseFloat(mxUtils.getValue(this.style, 'jettyWidth', this.jettyWidth));
2776 var dy = parseFloat(mxUtils.getValue(this.style, 'jettyHeight', this.jettyHeight));
2826 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
2890 …return mxUtils.getNumber(this.style, 'width', this.defaultWidth) + Math.max(0, this.strokewidth - …
2913 return this.getEdgeWidth() + mxUtils.getNumber(this.style, 'startWidth', this.defaultArrowWidth);
2918 return this.getEdgeWidth() + mxUtils.getNumber(this.style, 'endWidth', this.defaultArrowWidth);;
2923 …return mxUtils.getNumber(this.style, 'width', this.defaultWidth) + Math.max(0, this.strokewidth - …
2942 var s = Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size)));
2943 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
2970 var f = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE,
2975 var dx = Math.max(inset, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
2976 var dy = Math.max(inset, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
3005 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
3006 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
3008 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3009 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3053 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
3054 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
3057 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3058 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3077 …var aw = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowWidth', this.ar…
3078 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', this.arr…
3082 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3099 …var aw = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowWidth', SingleA…
3100 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', SingleAr…
3104 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3124 var fixed = mxUtils.getValue(this.style, 'fixedSize', '0') != '0';
3125 …var s = (fixed) ? Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.fix…
3126 w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3187 var s = Math.min(w / 2, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3188 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3209 var s = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
3210 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
3383 if (this.style != null)
3386 var events = mxUtils.getValue(this.style, mxConstants.STYLE_POINTER_EVENTS, '1') == '1';
3401 if (this.outline || mxUtils.getValue(this.style, 'top', '1') == '1')
3410 if (this.outline || mxUtils.getValue(this.style, 'right', '1') == '1')
3419 if (this.outline || mxUtils.getValue(this.style, 'bottom', '1') == '1')
3428 if (this.outline || mxUtils.getValue(this.style, 'left', '1') == '1')
3453 if (mxUtils.getValue(this.style, 'line') == 'vertical')
3500 …var size = Math.max(0, Math.min(m, m * parseFloat(mxUtils.getValue(this.style, 'size', this.size))…
3534 …var s = Math.min(w - dx, Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size))) …
3659 …var rectStyle = (os && os.rectStyle) ? os.rectStyle : mxUtils.getValue(this.style, 'rectStyle', th…
3660 …&& os.absoluteCornerSize) ? os.absoluteCornerSize : mxUtils.getValue(this.style, 'absoluteCornerSi…
3661 …ize) ? os.size : Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'size', this.size…
3662 …var rectOutline = (os && os.rectOutline) ? os.rectOutline : mxUtils.getValue(this.style, 'rectOutl…
3663 …t) ? os.indent : Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'indent', this.in…
3664 var dashed = (os && os.dashed) ? os.dashed : mxUtils.getValue(this.style, 'dashed', false);
3665 …var dashPattern = (os && os.dashPattern) ? os.dashPattern : mxUtils.getValue(this.style, 'dashPatt…
3667 var top = (os && os.top) ? os.top : mxUtils.getValue(this.style, 'top', true);
3668 var right = (os && os.right) ? os.right : mxUtils.getValue(this.style, 'right', true);
3669 var bottom = (os && os.bottom) ? os.bottom : mxUtils.getValue(this.style, 'bottom', true);
3670 var left = (os && os.left) ? os.left : mxUtils.getValue(this.style, 'left', true);
3671 …var topLeftStyle = (os && os.topLeftStyle) ? os.topLeftStyle : mxUtils.getValue(this.style, 'topLe…
3672 …var topRightStyle = (os && os.topRightStyle) ? os.topRightStyle : mxUtils.getValue(this.style, 'to…
3673 …(os && os.bottomRightStyle) ? os.bottomRightStyle : mxUtils.getValue(this.style, 'bottomRightStyle…
3674 …= (os && os.bottomLeftStyle) ? os.bottomLeftStyle : mxUtils.getValue(this.style, 'bottomLeftStyle'…
3675 …var fillColor = (os && os.fillColor) ? os.fillColor : mxUtils.getValue(this.style, 'fillColor', '#…
3676 …var strokeColor = (os && os.strokeColor) ? os.strokeColor : mxUtils.getValue(this.style, 'strokeCo…
3677 …var strokeWidth = (os && os.strokeWidth) ? os.strokeWidth : mxUtils.getValue(this.style, 'strokeWi…
3678 …var fillColor2 = (os && os.fillColor2) ? os.fillColor2 : mxUtils.getValue(this.style, 'fillColor2'…
3679 …var gradientColor2 = (os && os.gradientColor2) ? os.gradientColor2 : mxUtils.getValue(this.style, …
3680 …var gdir2 = (os && os.gradientDirection2) ? os.gradientDirection2 : mxUtils.getValue(this.style, '…
3681 var opacity = (os && os.opacity) ? os.opacity : mxUtils.getValue(this.style, 'opacity', '100');
5074 var fillClr = mxUtils.getValue(this.style, 'fillColor', null);
5102 if (ss.style.shape == 'umlFrame')
5415 if (mxUtils.getValue(state.style, mxConstants.STYLE_ABSOLUTE_ARCSIZE, 0) == '1')
5417 …var arcSize = mxUtils.getValue(state.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) /…
5423 var arcSize = Math.max(0, parseFloat(mxUtils.getValue(state.style,
5431 if (mxUtils.getValue(state.style, mxConstants.STYLE_ABSOLUTE_ARCSIZE, 0) == '1')
5433 this.state.style[mxConstants.STYLE_ARCSIZE] = Math.round(Math.max(0, Math.min(bounds.width,
5440 this.state.style[mxConstants.STYLE_ARCSIZE] = Math.round(f);
5451 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5468 …var fixed = (fixedDefaultValue != null) ? mxUtils.getValue(this.state.style, 'fixedSize', '0') != …
5469 …var size = Math.max(0, parseFloat(mxUtils.getValue(this.state.style, 'size', (fixed) ? fixedDefaul…
5474 …var fixed = (fixedDefaultValue != null) ? mxUtils.getValue(this.state.style, 'fixedSize', '0') != …
5477 this.state.style['size'] = size;
5480 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5497 …var fixed = (fixedDefaultValue != null) ? mxUtils.getValue(this.state.style, 'fixedSize', '0') != …
5498 …var size = parseFloat(mxUtils.getValue(this.state.style, 'size', (fixed) ? fixedDefaultValue : def…
5503 …var fixed = (fixedDefaultValue != null) ? mxUtils.getValue(this.state.style, 'fixedSize', '0') != …
5506 this.state.style['size'] = size;
5509 if (allowArcHandle && mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5525 mxUtils.getValue(this.state.style, 'size', defaultValue))))) * factor;
5530 …this.state.style['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, pt.x - bounds.x),
5534 if (allowArcHandle && mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5549 …x(0, Math.min(bounds.height * 0.5, parseFloat(mxUtils.getValue(this.state.style, 'size', defaultVa…
5554 this.state.style['size'] = Math.max(0, pt.y - bounds.y);
5565 …var aw = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'arrowWidth', SingleArrowShape…
5566 …var as = Math.max(0, Math.min(maxSize, mxUtils.getValue(this.state.style, 'arrowSize', SingleArrow…
5571 …this.state.style['arrowWidth'] = Math.max(0, Math.min(1, Math.abs(bounds.y + bounds.height / 2 - p…
5572 …this.state.style['arrowSize'] = Math.max(0, Math.min(maxSize, (bounds.x + bounds.width - pt.x) / (…
5628 state.style['width'] = Math.round(w * 2) / state.view.scale - spacing;
5650 …if (mxUtils.getValue(state.style, mxConstants.STYLE_STARTARROW, mxConstants.NONE) != mxConstants.N…
5655 …var l = mxUtils.getNumber(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.ARROW_SIZE / 5) * …
5664 …state.style[mxConstants.STYLE_STARTSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 1…
5665 state.style['width'] = Math.round(w * 2) / state.view.scale;
5670 state.style[mxConstants.STYLE_ENDSIZE] = state.style[mxConstants.STYLE_STARTSIZE];
5676 …if (Math.abs(parseFloat(state.style[mxConstants.STYLE_STARTSIZE]) - parseFloat(state.style[mxConst…
5678 state.style[mxConstants.STYLE_STARTSIZE] = state.style[mxConstants.STYLE_ENDSIZE];
5686 …var l = mxUtils.getNumber(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.ARROW_SIZE / 5) * …
5695 …state.style[mxConstants.STYLE_STARTSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 1…
5696 …state.style['startWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.vi…
5701 state.style[mxConstants.STYLE_ENDSIZE] = state.style[mxConstants.STYLE_STARTSIZE];
5702 state.style['endWidth'] = state.style['startWidth'];
5708 …if (Math.abs(parseFloat(state.style[mxConstants.STYLE_STARTSIZE]) - parseFloat(state.style[mxConst…
5710 state.style[mxConstants.STYLE_STARTSIZE] = state.style[mxConstants.STYLE_ENDSIZE];
5713 … if (Math.abs(parseFloat(state.style['startWidth']) - parseFloat(state.style['endWidth'])) < tol)
5715 state.style['startWidth'] = state.style['endWidth'];
5721 …if (mxUtils.getValue(state.style, mxConstants.STYLE_ENDARROW, mxConstants.NONE) != mxConstants.NON…
5726 …var l = mxUtils.getNumber(state.style, mxConstants.STYLE_ENDSIZE, mxConstants.ARROW_SIZE / 5) * 3 …
5735 …state.style[mxConstants.STYLE_ENDSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100…
5736 state.style['width'] = Math.round(w * 2) / state.view.scale;
5741 state.style[mxConstants.STYLE_STARTSIZE] = state.style[mxConstants.STYLE_ENDSIZE];
5747 …if (Math.abs(parseFloat(state.style[mxConstants.STYLE_ENDSIZE]) - parseFloat(state.style[mxConstan…
5749 state.style[mxConstants.STYLE_ENDSIZE] = state.style[mxConstants.STYLE_STARTSIZE];
5757 …var l = mxUtils.getNumber(state.style, mxConstants.STYLE_ENDSIZE, mxConstants.ARROW_SIZE / 5) * 3 …
5766 …state.style[mxConstants.STYLE_ENDSIZE] = Math.round((l - state.shape.strokewidth) * 100 / 3) / 100…
5767 …state.style['endWidth'] = Math.max(0, Math.round(w * 2) - state.shape.getEdgeWidth()) / state.view…
5772 state.style[mxConstants.STYLE_STARTSIZE] = state.style[mxConstants.STYLE_ENDSIZE];
5773 state.style['startWidth'] = state.style['endWidth'];
5779 …if (Math.abs(parseFloat(state.style[mxConstants.STYLE_ENDSIZE]) - parseFloat(state.style[mxConstan…
5781 state.style[mxConstants.STYLE_ENDSIZE] = state.style[mxConstants.STYLE_STARTSIZE];
5784 … if (Math.abs(parseFloat(state.style['endWidth']) - parseFloat(state.style['startWidth'])) < tol)
5786 state.style['endWidth'] = state.style['startWidth'];
5798 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED))
5800 …var size = parseFloat(mxUtils.getValue(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.DEFAU…
5807 …var size = parseFloat(mxUtils.getValue(state.style, mxConstants.STYLE_STARTSIZE, mxConstants.DEFAU…
5809 if (mxUtils.getValue(state.style, mxConstants.STYLE_HORIZONTAL, 1) == 1)
5819 state.style[mxConstants.STYLE_STARTSIZE] =
5820 (mxUtils.getValue(this.state.style, mxConstants.STYLE_HORIZONTAL, 1) == 1) ?
5831 var dir = graph.getSwimlaneDirection(state.style);
5848 state.style[mxConstants.STYLE_STARTSIZE], temp);
5864 …var size = Math.max(0, Math.min(bounds.height, parseFloat(mxUtils.getValue(this.state.style, 'size…
5869 this.state.style['size'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
5876 …rame.prototype.corner, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'width', UmlFrame…
5877 …ototype.corner * 1.5, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'height', UmlFram…
5882 …this.state.style['width'] = Math.round(Math.max(UmlFrame.prototype.corner, Math.min(bounds.width, …
5883 …this.state.style['height'] = Math.round(Math.max(UmlFrame.prototype.corner * 1.5, Math.min(bounds.…
5893 var fixed = mxUtils.getValue(this.state.style, 'fixedSize', '0') != '0';
5894 var size = parseFloat(mxUtils.getValue(this.state.style, 'size', ProcessShape.prototype.size));
5899 var fixed = mxUtils.getValue(this.state.style, 'fixedSize', '0') != '0';
5901 this.state.style['size'] = size;
5904 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5916 …var size = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'size', CrossShape.prototype…
5922 …this.state.style['size'] = Math.max(0, Math.min(1, Math.min((Math.max(0, bounds.getCenterY() - pt.…
5931 mxUtils.getValue(this.state.style, 'size', NoteShape.prototype.size)))));
5936 …this.state.style['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, bounds.x + bound…
5945 mxUtils.getValue(this.state.style, 'size', NoteShape2.prototype.size)))));
5950 …this.state.style['size'] = Math.round(Math.max(0, Math.min(Math.min(bounds.width, bounds.x + bound…
5958 …var size = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'size', ManualIn…
5963 …this.state.style['size'] = Math.round(Math.max(0, Math.min(bounds.height, (pt.y - bounds.y) * 4 / …
5966 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
5977 var fixed = mxUtils.getValue(this.state.style, 'fixedSize', '0') != '0';
5978 …var size = parseFloat(mxUtils.getValue(this.state.style, 'size', (fixed) ? DataStorageShape.protot…
5983 var fixed = mxUtils.getValue(this.state.style, 'fixedSize', '0') != '0';
5986 this.state.style['size'] = size;
5993 …var size = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'size', CalloutS…
5994 …var position = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'position', CalloutShape…
5995 …var base = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'base', CalloutSh…
6000 …var base = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'base', CalloutSh…
6001 …this.state.style['size'] = Math.round(Math.max(0, Math.min(bounds.height, bounds.y + bounds.height…
6002 …this.state.style['position'] = Math.round(Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.width…
6005 …var position2 = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'position2', CalloutSha…
6010 …this.state.style['position2'] = Math.round(Math.max(0, Math.min(1, (pt.x - bounds.x) / bounds.widt…
6013 …var size = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'size', CalloutS…
6014 …var position = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'position', CalloutShape…
6015 …var base = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'base', CalloutSh…
6020 …var position = Math.max(0, Math.min(1, mxUtils.getValue(this.state.style, 'position', CalloutShape…
6022 …this.state.style['base'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x - positio…
6025 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
6036 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', InternalStora…
6037 …var dy = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'dy', InternalStor…
6042 this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)));
6043 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6046 if (mxUtils.getValue(state.style, mxConstants.STYLE_ROUNDED, false))
6057 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'jettyWidth', Modul…
6058 …var dy = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'jettyHeight', Mod…
6063 …this.state.style['jettyWidth'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)) *…
6064 …this.state.style['jettyHeight'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y))…
6073 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', CornerShape.p…
6074 …var dy = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'dy', CornerShape.…
6079 this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width, pt.x - bounds.x)));
6080 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6087 …var dx = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'dx', TeeShape.prot…
6088 …var dy = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'dy', TeeShape.pro…
6093 …this.state.style['dx'] = Math.round(Math.max(0, Math.min(bounds.width / 2, (pt.x - bounds.x - boun…
6094 this.state.style['dy'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6103 …var tw = Math.max(0, Math.min(bounds.width, mxUtils.getValue(this.state.style, 'tabWidth', FolderS…
6104 …var th = Math.max(0, Math.min(bounds.height, mxUtils.getValue(this.state.style, 'tabHeight', Folde…
6106 …if (mxUtils.getValue(this.state.style, 'tabPosition', FolderShape.prototype.tabPosition) == mxCons…
6116 …if (mxUtils.getValue(this.state.style, 'tabPosition', FolderShape.prototype.tabPosition) == mxCons…
6121 this.state.style['tabWidth'] = Math.round(tw);
6122 … this.state.style['tabHeight'] = Math.round(Math.max(0, Math.min(bounds.height, pt.y - bounds.y)));
6129 …var size = Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.state.style, 'size', DocumentS…
6134 …this.state.style['size'] = Math.max(0, Math.min(1, (bounds.y + bounds.height - pt.y) / bounds.heig…
6141 …var size = Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.state.style, 'size', TapeShape…
6146 this.state.style['size'] = Math.max(0, Math.min(1, ((pt.y - bounds.y) / bounds.height) * 2));
6153 …var isoAngle = Math.max(0.01, Math.min(94, parseFloat(mxUtils.getValue(this.state.style, 'isoAngle…
6159 this.state.style['isoAngle'] = Math.max(0, (pt.y - bounds.y) * 50 / bounds.height);
6168 …var size = Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.state.style, 'size', OffPageCo…
6173 …this.state.style['size'] = Math.max(0, Math.min(1, (bounds.y + bounds.height - pt.y) / bounds.heig…
6180 …unds.width / 2, bounds.height / 2, parseFloat(mxUtils.getValue(this.state.style, 'size', this.size…
6185 …this.state.style['size'] = Math.round(100 * Math.max(0, Math.min(bounds.height / 2, bounds.width /…
6190 …var dx2 = Math.max(0, Math.min(100, parseFloat(mxUtils.getValue(this.state.style, 'indent', this.d…
6195 …this.state.style['indent'] = Math.round(100 * Math.max(0, Math.min(100, 200 * (pt.y - bounds.y) / …
6227 var name = this.state.style['shape'];
6269 var name = this.state.style['shape'];
6346 var elbow = mxUtils.getValue(state.style, 'elbow', 'horizontal') == 'horizontal';
6414 IsoCubeShape.prototype.getConstraints = function(style, w, h) argument
6433 IsoCubeShape2.prototype.getConstraints = function(style, w, h) argument
6436 …var isoAngle = Math.max(0.01, Math.min(94, parseFloat(mxUtils.getValue(this.style, 'isoAngle', thi…
6451 CalloutShape.prototype.getConstraints = function(style, w, h) argument
6454 …var arcSize = mxUtils.getValue(this.style, mxConstants.STYLE_ARCSIZE, mxConstants.LINE_ARCSIZE) / …
6455 var s = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
6456 …var dx = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position', this.posi…
6457 …var dx2 = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'position2', this.po…
6458 var base = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'base', this.base))));
6505 NoteShape.prototype.getConstraints = function(style, w, h) argument
6508 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6529 CardShape.prototype.getConstraints = function(style, w, h) argument
6532 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6553 CubeShape.prototype.getConstraints = function(style, w, h) argument
6556 …var s = Math.max(0, Math.min(w, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.s…
6574 CylinderShape3.prototype.getConstraints = function(style, w, h) argument
6577 var s = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size))));
6602 FolderShape.prototype.getConstraints = function(style, w, h) argument
6605 …var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'tabWidth', this.tabWidth…
6606 …var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'tabHeight', this.tabHeig…
6607 var tp = mxUtils.getValue(this.style, 'tabPosition', this.tabPosition);
6652 DisplayShape.prototype.getConstraints = function(style, w, h) argument
6656 …var s = Math.min(w - dx, Math.max(0, parseFloat(mxUtils.getValue(this.style, 'size', this.size))) …
6670 ModuleShape.prototype.getConstraints = function(style, w, h) argument
6672 var x0 = parseFloat(mxUtils.getValue(style, 'jettyWidth', ModuleShape.prototype.jettyWidth)) / 2;
6673 var dy = parseFloat(mxUtils.getValue(style, 'jettyHeight', ModuleShape.prototype.jettyHeight));
6830 TeeShape.prototype.getConstraints = function(style, w, h) argument
6833 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
6834 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
6857 CornerShape.prototype.getConstraints = function(style, w, h) argument
6860 var dx = Math.max(0, Math.min(w, parseFloat(mxUtils.getValue(this.style, 'dx', this.dx))));
6861 var dy = Math.max(0, Math.min(h, parseFloat(mxUtils.getValue(this.style, 'dy', this.dy))));
6889 SingleArrowShape.prototype.getConstraints = function(style, w, h) argument
6892 …var aw = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowWidth', this.ar…
6893 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', this.arr…
6909 DoubleArrowShape.prototype.getConstraints = function(style, w, h) argument
6912 …var aw = h * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowWidth', SingleA…
6913 …var as = w * Math.max(0, Math.min(1, parseFloat(mxUtils.getValue(this.style, 'arrowSize', SingleAr…
6929 CrossShape.prototype.getConstraints = function(style, w, h) argument
6933 …var size = Math.max(0, Math.min(m, m * parseFloat(mxUtils.getValue(this.style, 'size', this.size))…