Lines Matching refs:shape

161 …ltOptions,a):this.defaultOptions}},{key:"_d",value:function(a,e,c){return{shape:a,sets:e||[],optio…
163 …,{key:"circle",value:function(a,e,c,b){a=this.ellipse(a,e,c,c,b);return a.shape="circle",a}},{key:…
174 …e();b.fillStyle=c.fill||"";this._drawToContext(b,h,"curve"===a.shape||"polygon"===a.shape?"evenodd…
180 …roke-width","0");m.setAttribute("fill",c.fill||"");"curve"!==a.shape&&"polygon"!==a.shape||m.setAt…
233 …onstructor!=mxGeometryChange||a.model.isEdge(l.cell))mxUtils.setOpacity(m.shape.node,100*d/10);els…
234 …{var f=a.model.getChildAt(b,e),g=a.getView().getState(f);null!=g&&(mxUtils.setOpacity(g.shape.node,
235 …e<b.length;e++)d=a.getView().getState(b[e]),null!=d&&mxUtils.setOpacity(d.shape.node,c)},fadeOut:f…
457 …wShape=function(a,b){a.shape instanceof mxShape&&a.shape.checkBounds()&&(b.save(),a.shape.beforePa…
679 …extRotation=function(){return null!=this.state&&null!=this.state.shape?this.state.shape.getTextRot…
1051 …totype.length=0;mxCellState.prototype.segments=null;mxCellState.prototype.shape=null;mxCellState.p… method in mxCellState
1052shape&&null!=this.shape.stencil&&"fixed"==this.shape.stencil.aspect){var c=this.shape.stencil.comp…
1054 mxCellState.prototype.setCursor=function(a){null!=this.shape&&this.shape.setCursor(a);null!=this.te…
1056 …s.paintBounds=mxRectangle.fromRectangle(this.cellBounds);null!=this.shape&&this.shape.isPaintBound…
1079 …ue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=null!=a.shape&&f==
1080 mxConstants.ALIGN_CENTER&&g==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(b):b;null!=e&&(b.width…
1099 …llRenderer.legacySpacing&&"fill"==a.style[mxConstants.STYLE_OVERFLOW])c=a.shape.getLabelBounds(mxR…
1100 …Value(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),c=null!=a.shape&&
1101 k==mxConstants.ALIGN_CENTER&&l==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(c):c;b?(c.x=a.absol…
1108 …rer.prototype.initializeShape=function(a){a.shape.dialect=a.view.graph.dialect;this.configureShape…
1109 …)));return b};mxCellRenderer.prototype.createIndicatorShape=function(a){a.shape.indicatorShape=thi…
1111shape.apply(a);a.shape.image=a.view.graph.getImage(a);a.shape.indicatorColor=a.view.graph.getIndic…
1112 mxCellRenderer.prototype.postConfigureShape=function(a){null!=a.shape&&(this.resolveColor(a,"indica…
1114shape;if(null!=d){var e=a.view.graph,f=d[b],g=null;"inherit"==f?g=e.model.getParent(a.cell):"swiml…
1115shape?d[b]=a.style[mxConstants.STYLE_FILLCOLOR]:c!=mxConstants.STYLE_STROKECOLOR&&f==mxConstants.S…
1129 …ew.getState(b.getCellAt(c.x,c.y));return d};mxEvent.addGestureListeners(a.shape.node,mxUtils.bind(…
1130 …w mxMouseEvent(d,c(d)))}));b.nativeDblClickEnabled&&mxEvent.addListener(a.shape.node,"dblclick",mx…
1138shape&&(b=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),f=mx…
1142 ….overlay.getBounds(a);if(!a.view.graph.getModel().isEdge(a.cell)&&null!=a.shape&&0!=c){var m=g.get…
1144 …yControlPosition?mxUtils.getValue(a.style,mxConstants.STYLE_ROTATION,0):a.shape.getTextRotation(),…
1145 …l!=a.shape)){var g=a.shape.getShapeRotation();if(this.legacyControlPosition)g=mxUtils.getValue(a.s…
1149 …unction(a){return[a.shape,a.text,a.control]};mxCellRenderer.prototype.redraw=function(a,b,c){b=thi…
1150shape&&null!=a.shape.style&&null!=a.style&&a.shape.style[mxConstants.STYLE_SHAPE]!=a.style[mxConst…
1151shape||mxUtils.equalEntries(a.shape.style,a.style)&&!this.checkPlaceholderStyles(a)||(a.shape.rese…
1152shape.indicatorShape&&(a.shape.indicator=new a.shape.indicatorShape,a.shape.indicator.dialect=a.sh…
1153 mxCellRenderer.prototype.doRedrawShape=function(a){a.shape.redraw()};mxCellRenderer.prototype.isSha…
1154shape&&(null!=a.text&&(a.text.destroy(),a.text=null),null!=a.overlays&&(a.overlays.visit(function(…
1200 …n(a,b){b=null!=b?b:!0;var c=null;if(null!=a&&(null!=a.shape&&null!=a.shape.boundingBox&&(c=a.shape
1210 …,!1,this.isRendering()),c.updateCachedBounds())}if(b&&!c.invalid){null!=c.shape&&this.stateValidat…
1222shape&&null!=a.shape.stencil&&"fixed"==a.shape.stencil.aspect){var b=mxRectangle.fromRectangle(a),…
1230 …,g=1==mxUtils.getValue(a.style,mxConstants.STYLE_FLIPV,0),null!=a.shape&&null!=a.shape.stencil&&(b…
1378shape){c=this.view.getPerimeterBounds(b);var d=b.style[mxConstants.STYLE_DIRECTION];if(d==mxConsta…
1379 …Constants.STYLE_FLIPH],n=b.style[mxConstants.STYLE_FLIPV];null!=b.shape&&null!=b.shape.stencil&&(m…
1380 …nnectionConstraints=function(a,b){return null!=a&&null!=a.shape&&null!=a.shape.stencil?a.shape.ste…
1387 …stants.STYLE_FLIPH];b=1==a.style[mxConstants.STYLE_FLIPV];null!=a.shape&&null!=a.shape.stencil&&(k…
1487shape||a.shape.paintBackground!=mxRectangleShape.prototype.paintBackground||"1"==mxUtils.getValue(…
1488 a.shape.fill!=mxConstants.NONE})))}return a};mxGraph.prototype.getStateForTouchEvent=function(a){va…
1550 …s;null!=e&&(a.graph.cellRenderer.doRedrawShape=function(b){var c=b.shape.paint;b.shape.paint=funct…
1551 arguments);b.shape.paint=c});a.validateCellState=function(b,c){return null==b||null==d||d(b)?g.oldV…
1563 …="black";mxGraphHandler.prototype.htmlPreview=!1;mxGraphHandler.prototype.shape=null;mxGraphHandle… method in mxGraphHandler
1576 …e(a[d]);if(null!=e){var f=e;c.isVertex(a[d])&&null!=e.shape&&null!=e.shape.boundingBox&&(f=e.shape
1583 …ewUsed=this.livePreviewActive=!0):this.livePreviewUsed||null!=this.shape||(this.shape=this.createP…
1585 …t()))this.reset();else{var d=this.getDelta(b),e=c.tolerance;if(null!=this.shape||this.livePreviewA…
1589shape&&null!=this.pBounds&&(this.shape.bounds=new mxRectangle(Math.round(this.pBounds.x+this.curre…
1590 …,c.push([e,f]),null!=e.shape&&(null==e.shape.originalPointerEvents&&(e.shape.originalPointerEvents…
1595shape&&(this.shape.node.style.visibility="hidden"),null!=this.guide&&this.guide.setVisible(!1),thi…
1596 …ull!=b.shape&&null!=b.shape.originalPointerEvents&&(b.shape.pointerEvents=b.shape.originalPointerE…
1598 …ed&&this.resetLivePreview(),null==this.cell||null==this.first||null==this.shape&&!this.livePreview…
1605 …aphHandler.prototype.destroyShapes=function(){null!=this.shape&&(this.shape.destroy(),this.shape=n…
1652 …ler.prototype.isConnecting=function(){return null!=this.first&&null!=this.shape};mxConnectionHandl…
1660 …s.waypointsEnabled&&null==this.shape&&(this.waypoints=null,this.shape=this.createShape(),null!=thi…
1662 … this.outlineConnect&&(mxEvent.isShiftDown(a.getEvent())||a.isSource(this.marker.highlight.shape)||
1664shape)?null:b);if(null!=this.constraintHandler.currentFocus&&null!=this.constraintHandler.currentC…
1666 …ectEvent(a);null!=this.currentState&&c&&(a.isSource(this.marker.highlight.shape)&&(b=new mxPoint(a…
1667shape&&(c=this.graph.view.scale,null!=this.constraintHandler.currentConstraint&&null!=this.constra…
1668 …ght.shape.stroke="transparent",this.currentState=null):this.marker.highlight.shape.stroke=mxConsta…
1672 …(null!=this.first||this.isEnabled()&&this.graph.isEnabled())&&(null!=this.shape||null==this.first|…
1676shape&&(f=Math.abs(b.getGraphX()-this.first.x),g=Math.abs(b.getGraphY()-this.first.y),f>this.graph…
1689 mxConnectionHandler.prototype.reset=function(){null!=this.shape&&(this.shape.destroy(),this.shape=n…
1690shape=this.shape,this.graph.cellRenderer.postConfigureShape(this.edgeState),this.edgeState.shape=n…
1701 …nction(){this.graph.removeMouseListener(this);null!=this.shape&&(this.shape.destroy(),this.shape=n…
1731 …=a;this.cursor=null!=b?b:this.cursor;this.image=null!=c?c:this.image;this.shape=null!=d?d:null;thi…
1733 …c.x,a.getGraphY()/b-c.y);null!=this.shape&&null!=this.shape.bounds&&(c.x-=this.shape.bounds.width/…
1734shape&&this.state.shape.apply(this.state);this.graph.cellRenderer.redraw(this.state,!0)};mxHandle.…
1735shape=new mxImageShape(new mxRectangle(0,0,this.image.width,this.image.height),this.image.src),thi…
1736shape.isHtmlAllowed()?(this.shape.dialect=mxConstants.DIALECT_STRICTHTML,this.shape.init(this.grap…
1737shape&&null!=this.state.shape){var a=this.getPosition(this.state.getPaintBounds());if(null!=a){var…
1739shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x=2*b.x+b.width-a.x);this.state…
1740 …nged()};mxHandle.prototype.destroy=function(){null!=this.shape&&(this.shape.destroy(),this.shape=n…
1759 …(a))for(d=this.customHandles.length-1;0<=d;d--)if(b(this.customHandles[d].shape))return mxEvent.CU…
1760 …eviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==this.stat…
1783shape&&null!=this.state.shape.node&&null!=this.state.shape.node.nextSibling&&(null==this.state.tex…
1798 …andles[c].shape.node.style.display;this.customHandles[c].redraw();this.customHandles[c].shape.node…
1813 function mxEdgeHandler(a){null!=a&&null!=a.shape&&(this.state=a,this.init(),this.escapeHandler=mxUt…
1814 mxEdgeHandler.prototype.shape=null;mxEdgeHandler.prototype.bends=null;mxEdgeHandler.prototype.label… method in mxEdgeHandler
1816shape=this.createSelectionShape(this.abspoints);this.shape.dialect=this.graph.dialect!=mxConstants…
1817 …mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.graph.isCellMovable(this.s…
1822 mxEdgeHandler.prototype.createSelectionShape=function(a){a=new this.state.shape.constructor;a.outli…
1834 …(a))for(d=this.customHandles.length-1;0<=d;d--)if(c(this.customHandles[d].shape))return mxEvent.CU…
1843shape)?null:this.currentPoint);if(null!=this.constraintHandler.currentFocus&&null!=this.constraint…
1849 … this.outlineConnect&&(mxEvent.isShiftDown(a.getEvent())||a.isSource(this.marker.highlight.shape)||
1851 ….currentConstraint;null==m&&e&&(null!=c?(d.isSource(this.marker.highlight.shape)&&(b=new mxPoint(d…
1852shape){var n=this.graph.view.scale;null!=this.constraintHandler.currentConstraint&&null!=this.cons…
1853shape.stroke=this.graph.isCellConnectable(d.getCell())&&this.marker.getValidState()!=d.getState()?…
1857 ….CUSTOM_HANDLE-this.index].positionChanged(),null!=this.shape&&null!=this.shape.node&&(this.shape.…
1858 …sCellConnectable(b.getCell())&&null!=this.marker.highlight.shape&&(this.marker.highlight.shape.str…
1861 …a,b){if(null!=this.index&&null!=this.marker){null!=this.shape&&null!=this.shape.node&&(this.shape.…
1862 …t.CUSTOM_HANDLE-d].execute(b),null!=this.shape&&null!=this.shape.node&&(this.shape.apply(this.stat…
1863 …&null!=this.marker.highlight.shape&&"transparent"!=this.marker.highlight.shape.stroke&&"white"!=th…
1867 …aw()};mxEdgeHandler.prototype.setPreviewColor=function(a){null!=this.shape&&(this.shape.stroke=a)};
1881 …andles[a].shape.node.style.display,this.customHandles[a].redraw(),this.customHandles[a].shape.node…
1886shape||mxUtils.equalPoints(this.shape.points,this.abspoints)||(this.shape.apply(this.state),this.s…
1887shape.stroke=this.getSelectionColor(),this.shape.strokewidth=this.getSelectionStrokeWidth()/this.s…
1889 ….node))};mxEdgeHandler.prototype.isDestroyed=function(){return null==this.shape};mxEdgeHandler.pro…
1890 …ker&&(this.marker.destroy(),this.marker=null);null!=this.shape&&(this.shape.destroy(),this.shape=n…
1921 …!=this.node&&(!this.stateSource||null!=c&&this.stateSource==(b.isSource(c.shape)||!b.isSource(c.te…
1923 …yle.visibility)){var d=a.getSource(),e=a.getX(),f=a.getY(),g=a.isSource(c.shape)||a.isSource(c.tex…
1930shape&&(this.shape.stroke=a)};mxCellHighlight.prototype.drawHighlight=function(){this.shape=this.c…
1933shape&&(this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.state.cell)?(this.shap…
1934shape.strokewidth=this.getStrokeWidth()/this.state.view.scale,this.shape.outline=!0),null!=this.st…
1935shape&&null!=document.elementFromPoint)for(var d=document.elementFromPoint(a,b);null!=d;){if(d==th…
2156 …EdgeStyle.shape?"geSprite geSprite-linkedge":"flexArrow"==k.currentEdgeStyle.shape?"geSprite geSpr…
2157shape,k.currentEdgeStyle[mxConstants.STYLE_STARTARROW],mxUtils.getValue(k.currentEdgeStyle,"startF…
2394shape&&(this.model.isEdge(g.cell)&&null!=g.absolutePoints&&1<g.absolutePoints.length?e.push(this.c…
2395shape){var f=[e[0]],l=t/d;c||(l=1-l);for(var q=g*l,m=1;m<p;m++)if(q<=k[m-1]){f.push(new mxPoint(e[…
2396 …yle.opacity=l)}}),stop:mxUtils.bind(this,function(){null!=b.shape&&(b.shape.points=e,b.shape.redra…
2397shape.bounds);return{execute:mxUtils.bind(this,function(k,g){if(null!=b.shape){var p=k/g;c||(p=1-p…
2454 …));null!=this.graph.connectionHandler&&null!=this.graph.connectionHandler.shape&&(c=!0)}),mouseUp:…
2466 …;null!=this.currentState.shape&&null!=this.currentState.shape.boundingBox&&(b=mxRectangle.fromRect…
2536 …getState(b[0]);if(null!=c&&null!=e&&"umlLifeline"==c.style.shape&&"umlLifeline"==e.style.shape&&(e…
2543shape&&null!=b.shape.bounds){g=b.shape.direction;e=b.shape.bounds;f=b.shape.scale;c=e.width/f;e=e.…
2544 if(null!=b.shape.constraints)return b.shape.constraints}}return null};Graph.prototype.flipEdge=func…
2551 …tParent(d));var f=this.view.getState(d);null!=f&&null!=f.shape&&(this.view.invalidate(d),f.shape.b…
2552 …f=this.view.getState(b[d]);null!=f&&null!=f.shape&&null!=f.shape.stencil&&this.stencilHasPlacehold…
2603 …=this.view.getState(f),null!=d.state&&null!=d.state.shape&&(this.container.style.cursor=d.state.sh…
2627 …ndler.prototype.updateHint=function(d){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewA…
2637 …ndle(l,"col-resize",null,m);l.tableHandle=!0;var H=0;l.shape.node.parentNode.insertBefore(l.shape.…
2638shape.node.parentNode.firstChild);l.redraw=function(){if(null!=this.shape){var b=d.getActualStartS…
2640shape.node.parentNode.insertBefore(f.shape.node,f.shape.node.parentNode.firstChild);f.redraw=funct…
2645 …ing=function(){var b=new mxPoint(0,0),d=this.tolerance,f=this.state.style.shape;null==mxCellRender…
2646 …c++)if(null!=this.customHandles[c].shape&&null!=this.customHandles[c].shape.bounds){var e=this.cus…
2855 ….format.getSelectionState(),f=b.apply(this,arguments);"umlFrame"==d.style.shape&&f.push({title:mxR…
2859 …r){var Za=function(b,d,f){return Na(b,["width"],d,function(d,c,e,g,l){l=b.shape.getEdgeWidth()*b.v…
2868 …RTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(d,f,c,e,g){d=(b.shape.getEdgeWidth()-b.shape.strokew…
2869shape.strokewidth*b.view.scale)+c*d/2,e.y+c*(g+b.shape.strokewidth*b.view.scale)-f*d/2)},function(…
2870 …IZE,mxConstants.STYLE_ENDSIZE],!0,function(d,f,c,e,g){d=(b.shape.getStartArrowWidth()-b.shape.stro…
2871shape.strokewidth*b.view.scale)+c*d/2,e.y+c*(g+b.shape.strokewidth*b.view.scale)-f*d/2)},function(…
2873shape.getEdgeWidth()-b.shape.strokewidth)*b.view.scale;g=3*mxUtils.getNumber(b.style,mxConstants.S…
2874 Math.round(100*(c-b.shape.strokewidth)/3)/100/b.view.scale;b.style.width=Math.round(2*f)/b.view.sca…
2875shape.getEndArrowWidth()-b.shape.strokewidth)*b.view.scale;g=3*mxUtils.getNumber(b.style,mxConstan…
2876 3)/100/b.view.scale;b.style.endWidth=Math.max(0,Math.round(2*f)-b.shape.getEdgeWidth())/b.view.scal…
2899 …s);if(this.graph.isCellRotatable(this.state.cell)){var d=this.state.style.shape;null==mxCellRender…
2900shape&&this.state.shape.isRoundable()&&(d=Qa[mxConstants.SHAPE_RECTANGLE]);null!=d&&(d=d(this.stat…
3137 …e()};return d};(function(){function b(d,c,f){this.canvas=d;this.rc=c;this.shape=f;this.canvas.setL…
3140 …="Z";b.prototype.getStyle=function(b,d){var c=1;if(null!=this.shape.state){var f=this.shape.state.…
3141shape.style,"bowing",f.bowing);c.hachureAngle=mxUtils.getValue(this.shape.style,"hachureAngle",f.h…
3142shape.style,"simplification",f.simplification);c.disableMultiStroke=mxUtils.getValue(this.shape.st…
3143shape.style,"fillWeight",-1);c.fillWeight="auto"==g?-1:g;g=mxUtils.getValue(this.shape.style,"fill…
3237shape&&(e.shape.commonCustomPropAdded||(e.shape.commonCustomPropAdded=!0,e.shape.customProperties=…
3238shape.customProperties));b=b.getAttribute("customProperties");if(null!=b)try{f(JSON.parse(b))}catc…
3269 …=d.cells.length?f.view.getState(d.cells[0]):null;null!=f&&null!=f.shape&&null!=f.shape.stencil?(d=…
3314 …=f);g.highlight(b);window.setTimeout(function(){null!=g.shape&&(mxUtils.setPrefixedStyle(g.shape.n…
3315 "all 1200ms ease-in-out"),g.shape.node.style.opacity=0);window.setTimeout(function(){g.destroy()},1…
3885 …=new mxCell("Branch",new mxGeometry(320,80,72,26),'whiteSpace=wrap;html=1;shape=partialRectangle;t…
3887 …u=new mxCell("Branch",new mxGeometry(20,80,72,26),'whiteSpace=wrap;html=1;shape=partialRectangle;t…
3889 …r b=new mxCell("Branch",new mxGeometry(0,0,80,20),'whiteSpace=wrap;html=1;shape=partialRectangle;t…