Home
last modified time | relevance | path

Searched refs:mxConstants (Results 1 – 25 of 113) sorted by relevance

12345

/plugin/diagramsnet/lib/js/diagramly/sidebar/
DSidebar-Mockup.js27mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;align=center;html=1;' + mxC…
28 …var s2 = mxConstants.STYLE_STROKEWIDTH + '=1;shadow=0;dashed=0;align=center;html=1;' + mxConstants
29mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=top;shadow=0;dashed=0;align=center;html=1;' + mxCons…
33 var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;';
34 var skcl9 = mxConstants.STYLE_STROKECOLOR + '=#999999;';
35 var skclN = mxConstants.STYLE_STROKECOLOR + '=none;';
128mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;shadow=0;dashed=0;align=center;html=1;' + mxC…
129 …var s2 =mxConstants.STYLE_STROKEWIDTH + '=1;shadow=0;dashed=0;align=center;html=1;' + mxConstants.…
130mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=top;shadow=0;dashed=0;align=center;html=1;' + mxCons…
134 var skcl6 = mxConstants.STYLE_STROKECOLOR + '=#666666;';
[all …]
DSidebar-PID.js32 …';html=1;pointerEvents=1;align=center;' + mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' +…
42 …var s = 'html=1;outlineConnect=0;align=center;dashed=0;aspect=fixed;' + mxConstants.STYLE_SHAPE + …
43 …var s2 = 'html=1;outlineConnect=0;align=center;dashed=0;' + mxConstants.STYLE_SHAPE + "=mxgraph.pi…
131 var s = 'dashed=0;outlineConnect=0;html=1;' + mxConstants.STYLE_SHAPE + "=mxgraph.pid2";
132mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;align=center;html=1;' + mxConstants.STYLE_VER…
133mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;align=center;html=1;' + mxConstants.STYLE_VER…
190mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;outlineConnect=0;align=center;dashed=0;html=1…
198 …this.createVertexTemplateEntry(mxConstants.STYLE_SHAPE + '=mxgraph.pid.compressors.centrifugal_com…
219 …var s = "dashed=0;outlineConnect=0;align=center;html=1;" + mxConstants.STYLE_SHAPE + "=mxgraph.pid…
220 …sb = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;align=center;dashed=0;html=1;' + mxConst…
[all …]
DSidebar-Flowchart.js8 …var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN…
9 …var s3 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN…
49 …this.createVertexTemplateEntry(mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstant…
/plugin/jdraw/src/com/mxgraph/examples/swing/editor/
DEditorMenuBar.java51 import com.mxgraph.util.mxConstants;
581 mxConstants.ALIGN_LEFT), in populateShapeMenu()
584 new AlignCellsAction(mxConstants.ALIGN_CENTER), in populateShapeMenu()
587 mxConstants.ALIGN_RIGHT), in populateShapeMenu()
593 mxConstants.ALIGN_TOP), in populateShapeMenu()
596 new AlignCellsAction(mxConstants.ALIGN_MIDDLE), in populateShapeMenu()
599 new AlignCellsAction(mxConstants.ALIGN_BOTTOM), in populateShapeMenu()
620 "Fillcolor", mxConstants.STYLE_FILLCOLOR), in populateFormatMenu()
623 "Gradient", mxConstants.STYLE_GRADIENTCOLOR))); in populateFormatMenu()
628 new PromptValueAction(mxConstants.STYLE_IMAGE, "Image"))); in populateFormatMenu()
[all …]
DEditorMenuBar.java.bak51 import com.mxgraph.util.mxConstants;
581 mxConstants.ALIGN_LEFT),
584 new AlignCellsAction(mxConstants.ALIGN_CENTER),
587 mxConstants.ALIGN_RIGHT),
593 mxConstants.ALIGN_TOP),
596 new AlignCellsAction(mxConstants.ALIGN_MIDDLE),
599 new AlignCellsAction(mxConstants.ALIGN_BOTTOM),
620 "Fillcolor", mxConstants.STYLE_FILLCOLOR),
623 "Gradient", mxConstants.STYLE_GRADIENTCOLOR)));
628 new PromptValueAction(mxConstants.STYLE_IMAGE, "Image")));
[all …]
DEditorToolBar.java27 import com.mxgraph.util.mxConstants;
123 graph.setCellStyles(mxConstants.STYLE_FONTFAMILY, font); in EditorToolBar()
145 graph.setCellStyles(mxConstants.STYLE_FONTSIZE, sizeCombo in EditorToolBar()
159 add(editor.bind("Left", new KeyValueAction(mxConstants.STYLE_ALIGN, in EditorToolBar()
160 mxConstants.ALIGN_LEFT), in EditorToolBar()
162 add(editor.bind("Center", new KeyValueAction(mxConstants.STYLE_ALIGN, in EditorToolBar()
163 mxConstants.ALIGN_CENTER), in EditorToolBar()
165 add(editor.bind("Right", new KeyValueAction(mxConstants.STYLE_ALIGN, in EditorToolBar()
166 mxConstants.ALIGN_RIGHT), in EditorToolBar()
172 mxConstants.STYLE_FONTCOLOR), in EditorToolBar()
[all …]
/plugin/diagramsnet/lib/js/grapheditor/
DFormat.js181 if (mxUtils.getValue(style, mxConstants.STYLE_EDITABLE, '1') != '0')
302 var shape = mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE, null);
313 return !this.isSpecialColor(state.style[mxConstants.STYLE_FILLCOLOR]) &&
315 mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE, null) == 'arrow' ||
316 mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE, null) == 'filledEdge' ||
317 mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE, null) == 'flexArrow');
325 return !this.isSpecialColor(state.style[mxConstants.STYLE_STROKECOLOR]);
333 return mxUtils.indexOf([mxConstants.STYLE_STROKECOLOR,
334 mxConstants.STYLE_FILLCOLOR, 'inherit', 'swimlane',
343 var shape = mxUtils.getValue(state.style, mxConstants.STYLE_SHAPE, null);
[all …]
DActions.js511 var value = (mxUtils.getValue(style, mxConstants.STYLE_EDITABLE, 1)) == 1 ? 0 : 1;
512 graph.setCellStyles(mxConstants.STYLE_MOVABLE, value, cells);
513 graph.setCellStyles(mxConstants.STYLE_RESIZABLE, value, cells);
514 graph.setCellStyles(mxConstants.STYLE_ROTATABLE, value, cells);
515 graph.setCellStyles(mxConstants.STYLE_DELETABLE, value, cells);
516 graph.setCellStyles(mxConstants.STYLE_EDITABLE, value, cells);
930 if (state != null && state.style[mxConstants.STYLE_WHITE_SPACE] == 'wrap')
935 graph.setCellStyles(mxConstants.STYLE_WHITE_SPACE, value);
944 value = state.style[mxConstants.STYLE_ROTATION] || value;
951 graph.setCellStyles(mxConstants.STYLE_ROTATION, newValue);
[all …]
DMenus.js57 var tr = this.styleChange(menu, fontFamily, [mxConstants.STYLE_FONTFAMILY],
62 'keys', [mxConstants.STYLE_FONTFAMILY],
107 …mptChange(menu, mxResources.get('custom') + '...', '', mxConstants.DEFAULT_FONTFAMILY, mxConstants
180 'keys', [mxConstants.STYLE_FONTSIZE],
188 this.styleChange(menu, fontSize, [mxConstants.STYLE_FONTSIZE],
232 mxConstants.STYLE_FONTSIZE, parent, true,
255 …menu.addItem(mxResources.get('flipH'), null, function() { graph.toggleCellStyles(mxConstants.STYLE…
256 …menu.addItem(mxResources.get('flipV'), null, function() { graph.toggleCellStyles(mxConstants.STYLE…
261 …menu.addItem(mxResources.get('leftAlign'), null, function() { graph.alignCells(mxConstants.ALIGN_L…
262 …menu.addItem(mxResources.get('center'), null, function() { graph.alignCells(mxConstants.ALIGN_CENT…
[all …]
DToolbar.js140 …this.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_SHAPE, 'width'], [null, null], 'g…
141 …this.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_SHAPE, 'width'], ['link', null], …
142 …this.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_SHAPE, 'width'], ['flexArrow', nu…
143 …this.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_SHAPE, 'width'], ['arrow', null],…
151 …his.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_CURVED, mx…
152 …his.editorUi.menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_CURVED, mx…
153 …menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_ELBOW, mxConstants.STYL…
154 …menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_ELBOW, mxConstants.STYL…
155 …menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_ELBOW, mxConstants.STYL…
156 …menus.edgeStyleChange(menu, '', [mxConstants.STYLE_EDGE, mxConstants.STYLE_ELBOW, mxConstants.STYL…
[all …]
/plugin/diagramsnet/lib/shapes/mockup/
DmxMockupiOS.js148 …c.setGradient('#808080', '#000000', w * 0.325, 0, w * 0.675, h * 0.5, mxConstants.DIRECTION_SOUTH,…
157 var fillColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '');
623 …c.setGradient('#bbbbbb', '#000000', w * 0.4, h * 0.875, w * 0.2, h * 0.1, mxConstants.DIRECTION_SO…
734 var strokeColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '');
801 var strokeColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '');
1193 var fontSize = mxUtils.getValue(this.style, mxConstants.STYLE_FONTSIZE, '17').toString();
1194 var frameColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '#666666');
1196 var bgColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '#ffffff');
1213 …var currWidth = mxUtils.getSizeForString(buttonText, fontSize, mxConstants.DEFAULT_FONTFAMILY).wid…
1275 var strokeWidth = mxUtils.getValue(this.style, mxConstants.STYLE_STROKEWIDTH, '1');
[all …]
DmxMockupForms.js66 …var currWidth = mxUtils.getSizeForString(currText, fontSize, mxConstants.DEFAULT_FONTFAMILY).width;
101 …(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstants.ALI…
110 …c.setGradient('#aaaaaa', '#666666', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
122 …c.setGradient('#eeeeee', '#cccccc', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
193 …var currWidth = mxUtils.getSizeForString(currText, fontSize, mxConstants.DEFAULT_FONTFAMILY).width;
228 …(buttonSize * 2 + labelOffset, currHeight, 0, 0, currText, mxConstants.ALIGN_LEFT, mxConstants.ALI…
236 …c.setGradient('#aaaaaa', '#666666', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
246 …c.setGradient('#eeeeee', '#cccccc', iconX, iconY, buttonSize, buttonSize, mxConstants.DIRECTION_SO…
383 var fillColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '').toString();
385 c.setGradient(fillColor, fillColor2, w - 30, 0, 30, h, mxConstants.DIRECTION_SOUTH, 1, 1);
[all …]
DmxMockupText.js45 var width = mxUtils.getSizeForString(linkText, textSize, mxConstants.DEFAULT_FONTFAMILY).width;
50 …c.text(w * 0.5, h * 0.5, 0, 0, linkText, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nu…
102 var frameColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '#666666');
104 var bgColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '#ffffff');
123 var currW = mxUtils.getSizeForString(buttonText, fontSize, mxConstants.DEFAULT_FONTFAMILY).width;
244 …onWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER, mxConstants.AL…
246 …var textW = mxUtils.getSizeForString(textString, fontSize, mxConstants.DEFAULT_FONTFAMILY).width *…
318 …var textWidth = mxUtils.getSizeForString(calloutText, textSize, mxConstants.DEFAULT_FONTFAMILY).wi…
360 …c.text(textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.ALIG…
391 …c.text(w - textWidth * 0.5, callH * 0.5, 0, 0, calloutText, mxConstants.ALIGN_CENTER, mxConstants.…
[all …]
DmxMockupButtons.js57 c.setFontStyle(mxConstants.FONT_BOLD);
102 …c.text(w * 0.5, h * 0.4, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
109 …c.text(w * 0.5, h * 0.7, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
206 c.setFontStyle(mxConstants.FONT_BOLD);
207 …c.text(w / 2, h / 2, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
254 var frameColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '#666666');
256 var bgColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '#ffffff');
275 …buttonWidths[i] = mxUtils.getSizeForString(buttonText, fontSize, mxConstants.DEFAULT_FONTFAMILY).w…
288 c.setFontStyle(mxConstants.FONT_BOLD);
424 …onWidth * 0.5) * trueW / minW, h * 0.5, 0, 0, textString, mxConstants.ALIGN_CENTER, mxConstants.AL…
[all …]
/plugin/diagramsnet/lib/shapes/er/
DmxER.js37 var fontSize = mxUtils.getValue(this.style, mxConstants.STYLE_FONTSIZE, '17');
77 var fillColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '#ffffff');
103 …c.text(w * 0.5, h * 0.5, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, …
152 var strokeColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '#666666');
153 var fontSize = mxUtils.getValue(this.style, mxConstants.STYLE_FONTSIZE, '17');
154 var mainColor = mxUtils.getValue(this.style, mxConstants.STYLE_FILLCOLOR, '#008cff');
163 …var currWidth = mxUtils.getSizeForString(attributes[i], fontSize, mxConstants.DEFAULT_FONTFAMILY).…
213 …c.text(w * 0.5, fontSize * 0.5, 0, 0, text, mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0,…
295 …c.text(rSize * 0.5, (i + 1.5) * barY, 0, 0, attributes[i], mxConstants.ALIGN_LEFT, mxConstants.ALI…
345 var fontSize = mxUtils.getValue(this.style, mxConstants.STYLE_FONTSIZE, '17');
[all …]
/plugin/diagramsnet/lib/plugins/
Dvoice.js1117 var direction = mxConstants.DIRECTION_EAST;
1126 if (guess == 'up' || guess == mxConstants.DIRECTION_NORTH)
1128 direction = mxConstants.DIRECTION_NORTH;
1130 else if (guess == 'left' || guess == mxConstants.DIRECTION_WEST)
1132 direction = mxConstants.DIRECTION_WEST;
1134 else if (guess == 'down' || guess == mxConstants.DIRECTION_SOUTH)
1136 direction = mxConstants.DIRECTION_SOUTH;
1186 if (guess == 'up' || guess == mxConstants.DIRECTION_NORTH)
1188 direction = mxConstants.DIRECTION_NORTH;
1190 else if (guess == 'left' || guess == mxConstants.DIRECTION_WEST)
[all …]
/plugin/diagramsnet/lib/shapes/
DmxElectrical.js38 var strokeColor = mxUtils.getValue(this.style, mxConstants.STYLE_STROKECOLOR, '#000000');
810 …c.text(20, currH, 0, 0, currPinNum.toString(), mxConstants.ALIGN_LEFT, mxConstants.ALIGN_MIDDLE, 0…
814 …xt(20, currH, 0, 0, labelNames[currPinNum - 1].toString(), mxConstants.ALIGN_LEFT, mxConstants.ALI…
828 …c.text(w - 20, currH, 0, 0, pc2.toString(), mxConstants.ALIGN_RIGHT, mxConstants.ALIGN_MIDDLE, 0, …
832 …text(w - 20, currH, 0, 0, labelNames[pc2 - 1].toString(), mxConstants.ALIGN_RIGHT, mxConstants.ALI…
859 …c.text(currH, 20, 0, 0, currPinNum.toString(), mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE,…
863 …t(currH, 20, 0, 0, labelNames[currPinNum - 1].toString(), mxConstants.ALIGN_CENTER, mxConstants.AL…
877 …c.text(currH, h - 20, 0, 0, pc2.toString(), mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0,…
881 …text(currH, h - 20, 0, 0, labelNames[pc2 - 1].toString(), mxConstants.ALIGN_CENTER, mxConstants.AL…
920 …c.text(5, currH + 1, 0, 0, currPinNum.toString(), mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDD…
[all …]
DmxAtlassian.js263 …c.text(w - 25, 15, 0, 0, 'TO DO', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0, …
269 …c.text(w - 45, 15, 0, 0, 'IN PROGRESS', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, nul…
275 …c.text(w - 40, 15, 0, 0, 'IN REVIEW', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null,…
281 …c.text(w - 25, 15, 0, 0, 'DONE', mxConstants.ALIGN_CENTER, mxConstants.ALIGN_MIDDLE, 0, null, 0, 0…
287 …c.text(w - 7, 15, 0, 0, issueStatus, mxConstants.ALIGN_RIGHT, mxConstants.ALIGN_MIDDLE, 0, null, 0…
/plugin/diagramsnet/lib/plugins/trees/
Dtrees.js481 return mxConstants.DIRECTION_SOUTH;
485 return mxConstants.DIRECTION_NORTH;
489 return mxConstants.DIRECTION_WEST;
497 return mxConstants.DIRECTION_EAST;
513 if (dir == mxConstants.DIRECTION_SOUTH || dir == mxConstants.DIRECTION_NORTH)
524 if (dir == mxConstants.DIRECTION_WEST)
537 if (dir == mxConstants.DIRECTION_SOUTH ||
538 dir == mxConstants.DIRECTION_NORTH)
553 var hor = (dir == mxConstants.DIRECTION_SOUTH || dir == mxConstants.DIRECTION_NORTH);
664 if (dir == mxConstants.DIRECTION_SOUTH)
[all …]
/plugin/diagramsnet/lib/mxgraph/
DmxClient.js21 …?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE…
34 …hile evaluating "+a)}return b},findNode:function(a,b,c){if(a.nodeType==mxConstants.NODETYPE_ELEMEN…
36 …==a)return!0;c=c.parentNode}return!1},getChildNodes:function(a,b){b=b||mxConstants.NODETYPE_ELEMEN…
40 …(a,b){for(var c=b?a.previousSibling:a.nextSibling;null!=c&&c.nodeType==mxConstants.NODETYPE_TEXT;)…
42mxConstants.NODETYPE_DOCUMENT)f.push(mxUtils.getPrettyXml(a.documentElement,b,c,d,e));else if(a.no…
43 0<a.length&&f.push(c+mxUtils.htmlEntities(a,!1)+d);else if(a.nodeType==mxConstants.NODETYPE_CDATA)a…
52 …Number(a)},getColor:function(a,b,c){a=null!=a?a[b]:null;null==a?a=c:a==mxConstants.NONE&&(a=null);…
59mxConstants.STYLE_PORT_CONSTRAINT,mxUtils.getValue(b.style,c?mxConstants.STYLE_SOURCE_PORT_CONSTRA…
60mxConstants.DIRECTION_NORTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_NORTH;break;case 1:b|=
61mxConstants.DIRECTION_SOUTH))switch(a){case 0:b|=mxConstants.DIRECTION_MASK_SOUTH;break;case 1:b|=
[all …]
/plugin/diagramsnet/lib/js/diagramly/util/
DmxJsCanvas.js115 if ((this.state.fontStyle & mxConstants.FONT_BOLD) == mxConstants.FONT_BOLD)
120 if ((this.state.fontStyle & mxConstants.FONT_ITALIC) == mxConstants.FONT_ITALIC)
189 if (value == mxConstants.NONE)
232 else if (value == mxConstants.NONE)
328 if (value == mxConstants.NONE)
338 if (value == mxConstants.NONE)
391 if (value == null || value == mxConstants.NONE)
660 case mxConstants.ALIGN_MIDDLE:
663 case mxConstants.ALIGN_BOTTOM:
670 case mxConstants.ALIGN_CENTER:
[all …]
DmxAsyncCanvas.js69 if ((this.state.fontStyle & mxConstants.FONT_BOLD) == mxConstants.FONT_BOLD)
74 if ((this.state.fontStyle & mxConstants.FONT_ITALIC) == mxConstants.FONT_ITALIC)
98 if (value == mxConstants.NONE)
108 if (value == mxConstants.NONE)
/plugin/diagramsnet/lib/js/diagramly/
DTrees.js659 return mxConstants.DIRECTION_SOUTH;
663 return mxConstants.DIRECTION_NORTH;
667 return mxConstants.DIRECTION_WEST;
675 return mxConstants.DIRECTION_EAST;
692 if (dir == mxConstants.DIRECTION_SOUTH || dir == mxConstants.DIRECTION_NORTH)
717 if (dir == mxConstants.DIRECTION_SOUTH ||
718 dir == mxConstants.DIRECTION_NORTH)
733 var hor = (dir == mxConstants.DIRECTION_SOUTH || dir == mxConstants.DIRECTION_NORTH);
862 if (dir == mxConstants.DIRECTION_SOUTH)
866 else if (dir == mxConstants.DIRECTION_NORTH)
[all …]
DmxRuler.js182 case mxConstants.POINTS:
187 case mxConstants.MILLIMETERS:
189 tickStep = mxConstants.PIXELS_PER_MM;
192 case mxConstants.METERS:
194 tickStep = mxConstants.PIXELS_PER_MM;
197 case mxConstants.INCHES:
203 tickStep = mxConstants.PIXELS_PER_INCH / len;
217 … step = tickStep * (Math.floor((1 / scale) / 2) * (ruler.unit == mxConstants.MILLIMETERS? 2 : 1));
530 mxRuler.prototype.unit = mxConstants.POINTS;
542 case mxConstants.POINTS:
[all …]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
DVsdxExport.js175 var fillClr = state.style[mxConstants.STYLE_FILLCOLOR];
184 var gradClr = state.style[mxConstants.STYLE_GRADIENTCOLOR];
190 var gradDir = state.style[mxConstants.STYLE_GRADIENT_DIRECTION];
197 case mxConstants.DIRECTION_EAST:
200 case mxConstants.DIRECTION_WEST:
203 case mxConstants.DIRECTION_NORTH:
212 var strokeClr = state.style[mxConstants.STYLE_STROKECOLOR];
219 var strokeW = state.style[mxConstants.STYLE_STROKEWIDTH];
223 var opacity = state.style[mxConstants.STYLE_OPACITY];
234 fillOpaq = state.style[mxConstants.STYLE_FILL_OPACITY];
[all …]

12345