2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2019-03-11 12:35:15 +00:00
<!-- Generated by javadoc (10.0.2) on Mon Mar 11 12:29:23 UTC 2019 -->
< title > mxEdgeStyle.mxEdgeStyleFunction (mxGraph 4.0.0 API Specification)< / title >
2018-11-06 11:46:01 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2019-03-11 12:35:15 +00:00
< meta name = "date" content = "2019-03-11" >
2014-04-01 11:30:48 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
2018-11-06 11:46:01 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../jquery/jquery-ui.css" title = "Style" >
2016-06-02 09:57:18 +00:00
< script type = "text/javascript" src = "../../../script.js" > < / script >
2018-11-06 11:46:01 +00:00
< script type = "text/javascript" src = "../../../jquery/jszip/dist/jszip.min.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jszip-utils/dist/jszip-utils.min.js" > < / script >
<!-- [if IE]>
< script type = "text/javascript" src = "../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js" > < / script >
<![endif]-->
< script type = "text/javascript" src = "../../../jquery/jquery-1.10.2.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-ui.js" > < / script >
2014-04-01 11:30:48 +00:00
< / head >
< body >
< script type = "text/javascript" > < ! - -
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2019-03-11 12:35:15 +00:00
parent.document.title="mxEdgeStyle.mxEdgeStyleFunction (mxGraph 4.0.0 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2016-06-02 09:57:18 +00:00
var methods = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2018-11-06 11:46:01 +00:00
var pathtoroot = "../../../";loadScripts(document, 'script');< / script >
2014-04-01 11:30:48 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2018-11-06 11:46:01 +00:00
< div class = "fixedNav" >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2016-06-02 09:57:18 +00:00
< div class = "topNav" > < a name = "navbar.top" >
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< a name = "navbar.top.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxEdgeStyle.mxEdgeStyleFunction.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../help-doc.html" > Help< / a > < / li >
< / ul >
2019-03-11 12:35:15 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.0.0< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../com/mxgraph/view/mxEdgeStyle.html" title = "class in com.mxgraph.view" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/mxgraph/view/mxGraph.html" title = "class in com.mxgraph.view" > < span class = "typeNameLink" > Next Class< / span > < / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "mxEdgeStyle.mxEdgeStyleFunction.html" target = "_top" > No Frames< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
2018-11-06 11:46:01 +00:00
< ul class = "navListSearch" >
< li > < label for = "search" > SEARCH:< / label >
< input type = "text" id = "search" value = "search" disabled = "disabled" >
< input type = "reset" id = "reset" value = "reset" disabled = "disabled" >
< / li >
< / ul >
2014-04-01 11:30:48 +00:00
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
2018-11-06 11:46:01 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2014-04-01 11:30:48 +00:00
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > Constr | < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > Constr | < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2016-06-02 09:57:18 +00:00
< a name = "skip.navbar.top" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
< / div >
< div class = "navPadding" > < / div >
< script type = "text/javascript" > < ! - -
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
< / script >
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
< div class = "header" >
2018-11-06 11:46:01 +00:00
< div class = "subTitle" > < span class = "packageLabelInType" > Package< / span > < a href = "../../../com/mxgraph/view/package-summary.html" > com.mxgraph.view< / a > < / div >
2014-04-01 11:30:48 +00:00
< h2 title = "Interface mxEdgeStyle.mxEdgeStyleFunction" class = "title" > Interface mxEdgeStyle.mxEdgeStyleFunction< / h2 >
< / div >
< div class = "contentContainer" >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > Enclosing class:< / dt >
< dd > < a href = "../../../com/mxgraph/view/mxEdgeStyle.html" title = "class in com.mxgraph.view" > mxEdgeStyle< / a > < / dd >
< / dl >
< hr >
2016-06-02 09:57:18 +00:00
< pre > public static interface < span class = "typeNameLabel" > mxEdgeStyle.mxEdgeStyleFunction< / span > < / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Defines the requirements for an edge style function.< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2016-06-02 09:57:18 +00:00
< li class = "blockList" > < a name = "method.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
2018-11-06 11:46:01 +00:00
< table class = "memberSummary" summary = "Method Summary table, listing methods, and an explanation" >
2016-06-02 09:57:18 +00:00
< caption > < span id = "t0" class = "activeTableTab" > < span > All Methods< / span > < span class = "tabEnd" > < / span > < / span > < span id = "t2" class = "tableTab" > < span > < a href = "javascript:show(2);" > Instance Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < span id = "t3" class = "tableTab" > < span > < a href = "javascript:show(4);" > Abstract Methods< / a > < / span > < span class = "tabEnd" > < / span > < / span > < / caption >
2014-04-01 11:30:48 +00:00
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Method< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i0" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html#apply-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-java.util.List-java.util.List-" > apply< / a > < / span > ​ (< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
2014-04-01 11:30:48 +00:00
< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target,
2017-11-24 16:16:54 +00:00
java.util.List< < a href = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
2018-11-06 11:46:01 +00:00
java.util.List< < a href = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > result)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements an edge style function.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2016-06-02 09:57:18 +00:00
< li class = "blockList" > < a name = "method.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2016-06-02 09:57:18 +00:00
< a name = "apply-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-com.mxgraph.view.mxCellState-java.util.List-java.util.List-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > apply< / h4 >
2018-11-06 11:46:01 +00:00
< pre > void apply​ (< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
2016-06-02 09:57:18 +00:00
< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > source,
< a href = "../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > target,
2017-11-24 16:16:54 +00:00
java.util.List< < a href = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > points,
java.util.List< < a href = "../../../com/mxgraph/util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > result)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements an edge style function. At the time the function is called, the result
2012-05-21 20:32:26 +00:00
array contains a placeholder (null) for the first absolute point,
that is, the point where the edge and source terminal are connected.
The implementation of the style then adds all intermediate waypoints
except for the last point, that is, the connection point between the
edge and the target terminal. The first ant the last point in the
result array are then replaced with mxPoints that take into account
2014-04-01 11:30:48 +00:00
the terminal's perimeter and next point on the edge.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - Cell state that represents the edge to be updated.< / dd >
< dd > < code > source< / code > - Cell state that represents the source terminal.< / dd >
< dd > < code > target< / code > - Cell state that represents the target terminal.< / dd >
< dd > < code > points< / code > - List of relative control points.< / dd >
< dd > < code > result< / code > - Array of points that represent the actual points of the
edge.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2016-06-02 09:57:18 +00:00
< div class = "bottomNav" > < a name = "navbar.bottom" >
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< a name = "navbar.bottom.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxEdgeStyle.mxEdgeStyleFunction.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../help-doc.html" > Help< / a > < / li >
< / ul >
2019-03-11 12:35:15 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.0.0< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../com/mxgraph/view/mxEdgeStyle.html" title = "class in com.mxgraph.view" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/mxgraph/view/mxGraph.html" title = "class in com.mxgraph.view" > < span class = "typeNameLink" > Next Class< / span > < / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/view/mxEdgeStyle.mxEdgeStyleFunction.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "mxEdgeStyle.mxEdgeStyleFunction.html" target = "_top" > No Frames< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
2016-06-02 09:57:18 +00:00
< li > < a href = "../../../allclasses-noframe.html" > All Classes< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
2018-11-06 11:46:01 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2014-04-01 11:30:48 +00:00
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > Field | < / li >
< li > Constr | < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > Field | < / li >
< li > Constr | < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2016-06-02 09:57:18 +00:00
< a name = "skip.navbar.bottom" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2017-06-27 11:43:19 +00:00
< p class = "legalCopy" > < small > < font size = 1 > Copyright (c) 2010-2017 < a href = "http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd< / a > . All rights reserved.< / font > < / small > < / p >
2014-04-01 11:30:48 +00:00
< / body >
< / html >