2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2019-10-17 08:36:14 +00:00
<!-- Generated by javadoc (11.0.4) on Thu Oct 17 08:33:31 UTC 2019 -->
< title > mxCurveLabelShape (mxGraph 4.0.5 API Specification)< / title >
2018-11-06 11:46:01 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2019-10-17 08:36:14 +00:00
< meta name = "dc.created" content = "2019-10-17" >
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]-->
2019-07-02 06:45:58 +00:00
< script type = "text/javascript" src = "../../../jquery/jquery-3.3.1.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-migrate-3.0.1.js" > < / script >
2018-11-06 11:46:01 +00:00
< 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-10-17 08:36:14 +00:00
parent.document.title="mxCurveLabelShape (mxGraph 4.0.5 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
//-->
2019-07-02 06:45:58 +00:00
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');< / script >
2014-04-01 11:30:48 +00:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2019-07-02 06:45:58 +00:00
< header role = "banner" >
< nav role = "navigation" >
2018-11-06 11:46:01 +00:00
< div class = "fixedNav" >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
< div class = "topNav" > < a id = "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 >
2019-07-02 06:45:58 +00:00
< a id = "navbar.top.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../index.html" > Overview< / a > < / li >
2014-04-01 11:30:48 +00:00
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxCurveLabelShape.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-10-17 08:36:14 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.0.5< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_top" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../allclasses.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 >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2019-07-02 06:45:58 +00:00
< a id = "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 >
2019-07-02 06:45:58 +00:00
< / nav >
< / header >
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
< main role = "main" >
2014-04-01 11:30:48 +00:00
< div class = "header" >
2019-07-02 06:45:58 +00:00
< div class = "subTitle" > < span class = "packageLabelInType" > Package< / span > < a href = "package-summary.html" > com.mxgraph.shape< / a > < / div >
2014-04-01 11:30:48 +00:00
< h2 title = "Class mxCurveLabelShape" class = "title" > Class mxCurveLabelShape< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
2017-11-24 16:16:54 +00:00
< li > java.lang.Object< / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
< li > com.mxgraph.shape.mxCurveLabelShape< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxITextShape.html" title = "interface in com.mxgraph.shape" > mxITextShape< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< hr >
2016-06-02 09:57:18 +00:00
< pre > public class < span class = "typeNameLabel" > mxCurveLabelShape< / span >
2017-11-24 16:16:54 +00:00
extends java.lang.Object
2019-07-02 06:45:58 +00:00
implements < a href = "mxITextShape.html" title = "interface in com.mxgraph.shape" > mxITextShape< / a > < / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the edge label along a curve derived from the curve describing
the edge's path< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "nested.class.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Nested Class Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Nested Classes< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Class< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > class < / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "mxCurveLabelShape.LabelGlyphCache.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelGlyphCache< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Utility class to describe the characteristics of each glyph of a branch
branch label.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > class < / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "mxCurveLabelShape.LabelPosition.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelPosition< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Utility class that stores details of how the label is positioned
on the curve< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "field.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "col" > Field< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > int< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#centerVisibleIndex" > centerVisibleIndex< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > The index of the central glyph of the label that is visible< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#curve" > curve< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the points between which drawing straight lines views as a
curve< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#CURVE_TEXT_STRETCH_FACTOR" > CURVE_TEXT_STRETCH_FACTOR< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Factor by which text on the inside of curve is stretched< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > static java.lang.Object< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#FONT_FRACTIONALMETRICS" > FONT_FRACTIONALMETRICS< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies if image aspect should be preserved in drawImage.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > static java.awt.font.FontRenderContext< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#frc" > frc< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shared FRC for font size calculations< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > static < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#INVALID_GLYPH_BOUNDS" > INVALID_GLYPH_BOUNDS< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Indicates that a glyph does not have valid drawing bounds, usually
because it is not visible< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#LABEL_BUFFER" > LABEL_BUFFER< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Buffer at both ends of the label< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#labelBounds" > labelBounds< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the bounds of the label< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "mxCurveLabelShape.LabelGlyphCache.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelGlyphCache< / a > []< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#labelGlyphs" > labelGlyphs< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of information describing characteristics relating to drawing
each glyph of this label< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "mxCurveLabelShape.LabelPosition.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelPosition< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#labelPosition" > labelPosition< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > ADT to encapsulate label positioning information< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#labelSize" > labelSize< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the total length of the branch label< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Font< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#lastFont" > lastFont< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the label font< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#lastPoints" > lastPoints< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the last set of guide points that this label was calculated for< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#lastValue" > lastValue< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the label text< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#rotationEnabled" > rotationEnabled< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.awt.font.GlyphVector[]< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#rtlGlyphVectors" > rtlGlyphVectors< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of BIDI glyph vectors< / div >
< / td >
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > protected < a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#state" > state< / a > < / span > < / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache the state associated with this shape< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "constructor.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
2014-04-01 11:30:48 +00:00
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "col" > Constructor< / th >
< th class = "colLast" scope = "col" > Description< / th >
2014-04-01 11:30:48 +00:00
< / tr >
< tr class = "altColor" >
2019-07-02 06:45:58 +00:00
< th class = "colConstructorName" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#%3Cinit%3E(com.mxgraph.view.mxCellState,com.mxgraph.util.mxCurve)" > mxCurveLabelShape< / a > < / span > ​ (< a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > value)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< / table >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "method.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
2019-07-02 06:45:58 +00:00
< table class = "memberSummary" >
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 = "t4" class = "tableTab" > < span > < a href = "javascript:show(8);" > Concrete 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 > protected void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#calculationLabelPosition(java.util.Map,java.lang.String)" > calculationLabelPosition< / a > < / span > ​ (java.util.Map< java.lang.String,​ java.lang.Object> style,
2018-11-06 11:46:01 +00:00
java.lang.String label)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook method to override how the label is positioned on the curve< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i1" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCenterVisiblePosition()" > getCenterVisiblePosition< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the drawing bounds of the central indexed visible glyph< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i2" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getCurve()" > getCurve< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i3" class = "rowColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getLabelBounds()" > getLabelBounds< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i4" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#getRotationEnabled()" > getRotationEnabled< / a > < / span > ()< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i5" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#intersectsRect(java.awt.Rectangle)" > intersectsRect< / a > < / span > ​ (java.awt.Rectangle rect)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns whether or not the rectangle passed in hits any part of this
curve.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i6" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas,java.lang.String,com.mxgraph.view.mxCellState,java.util.Map)" > paintShape< / a > < / span > ​ (< a href = "../canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > mxGraphics2DCanvas< / a > canvas,
2017-11-24 16:16:54 +00:00
java.lang.String text,
2019-07-02 06:45:58 +00:00
< a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
java.util.Map< java.lang.String,​ java.lang.Object> style)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i7" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#postprocessGlyph(com.mxgraph.util.mxCurve,java.lang.String,int,double)" > postprocessGlyph< / a > < / span > ​ (< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > curve,
2017-11-24 16:16:54 +00:00
java.lang.String label,
2014-04-01 11:30:48 +00:00
int j,
2018-11-06 11:46:01 +00:00
double currentPos)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for sub-classers to perform additional processing on
each glyph< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i8" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setCurve(com.mxgraph.util.mxCurve)" > setCurve< / a > < / span > ​ (< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > curve)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i9" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > void< / code > < / td >
2019-07-02 06:45:58 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#setRotationEnabled(boolean)" > setRotationEnabled< / a > < / span > ​ (boolean value)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i10" class = "altColor" >
2019-07-02 06:45:58 +00:00
< td class = "colFirst" > < code > < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > < / code > < / td >
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "#updateLabelBounds(java.lang.String,java.util.Map)" > updateLabelBounds< / a > < / span > ​ (java.lang.String label,
java.util.Map< java.lang.String,​ java.lang.Object> style)< / code > < / th >
2018-11-06 11:46:01 +00:00
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the cached position and size of each glyph in the edge label.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "methods.inherited.from.class.java.lang.Object" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
2017-11-24 16:16:54 +00:00
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "field.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "lastValue" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastValue< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected java.lang.String lastValue< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the label text< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "lastFont" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastFont< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected java.awt.Font lastFont< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the label font< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "lastPoints" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastPoints< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected java.util.List< < a href = "../util/mxPoint.html" title = "class in com.mxgraph.util" > mxPoint< / a > > lastPoints< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the last set of guide points that this label was calculated for< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "curve" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > curve< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > curve< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the points between which drawing straight lines views as a
curve< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "state" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > state< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache the state associated with this shape< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "labelGlyphs" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > labelGlyphs< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "mxCurveLabelShape.LabelGlyphCache.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelGlyphCache< / a > [] labelGlyphs< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of information describing characteristics relating to drawing
each glyph of this label< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "labelSize" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > labelSize< / h4 >
< pre > protected double labelSize< / pre >
< div class = "block" > Cache of the total length of the branch label< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "labelBounds" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > labelBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > labelBounds< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of the bounds of the label< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "labelPosition" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > labelPosition< / h4 >
2019-07-02 06:45:58 +00:00
< pre > protected < a href = "mxCurveLabelShape.LabelPosition.html" title = "class in com.mxgraph.shape" > mxCurveLabelShape.LabelPosition< / a > labelPosition< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > ADT to encapsulate label positioning information< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "LABEL_BUFFER" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > LABEL_BUFFER< / h4 >
< pre > public static double LABEL_BUFFER< / pre >
< div class = "block" > Buffer at both ends of the label< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "CURVE_TEXT_STRETCH_FACTOR" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > CURVE_TEXT_STRETCH_FACTOR< / h4 >
< pre > public static double CURVE_TEXT_STRETCH_FACTOR< / pre >
< div class = "block" > Factor by which text on the inside of curve is stretched< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "INVALID_GLYPH_BOUNDS" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > INVALID_GLYPH_BOUNDS< / h4 >
2019-07-02 06:45:58 +00:00
< pre > public static < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > INVALID_GLYPH_BOUNDS< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Indicates that a glyph does not have valid drawing bounds, usually
because it is not visible< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "centerVisibleIndex" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > centerVisibleIndex< / h4 >
< pre > public int centerVisibleIndex< / pre >
< div class = "block" > The index of the central glyph of the label that is visible< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "FONT_FRACTIONALMETRICS" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > FONT_FRACTIONALMETRICS< / h4 >
2017-11-24 16:16:54 +00:00
< pre > public static java.lang.Object FONT_FRACTIONALMETRICS< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies if image aspect should be preserved in drawImage. Default is true.< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "rtlGlyphVectors" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > rtlGlyphVectors< / h4 >
2017-11-24 16:16:54 +00:00
< pre > public java.awt.font.GlyphVector[] rtlGlyphVectors< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Cache of BIDI glyph vectors< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "frc" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > frc< / h4 >
2017-11-24 16:16:54 +00:00
< pre > public static java.awt.font.FontRenderContext frc< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Shared FRC for font size calculations< / div >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "rotationEnabled" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > rotationEnabled< / h4 >
< pre > protected boolean rotationEnabled< / pre >
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "constructor.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "<init>(com.mxgraph.view.mxCellState,com.mxgraph.util.mxCurve)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxCurveLabelShape< / h4 >
2019-07-02 06:45:58 +00:00
< pre > public mxCurveLabelShape​ (< a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > value)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
< section role = "region" >
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
2019-07-02 06:45:58 +00:00
< li class = "blockList" > < a id = "method.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2019-07-02 06:45:58 +00:00
< a id = "getRotationEnabled()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getRotationEnabled< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean getRotationEnabled()< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setRotationEnabled(boolean)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setRotationEnabled< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setRotationEnabled​ (boolean value)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "paintShape(com.mxgraph.canvas.mxGraphics2DCanvas,java.lang.String,com.mxgraph.view.mxCellState,java.util.Map)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > paintShape< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void paintShape​ (< a href = "../canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > mxGraphics2DCanvas< / a > canvas,
2017-11-24 16:16:54 +00:00
java.lang.String text,
2019-07-02 06:45:58 +00:00
< a href = "../view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
java.util.Map< java.lang.String,​ java.lang.Object> style)< / pre >
2014-04-01 11:30:48 +00:00
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
2019-07-02 06:45:58 +00:00
< dd > < code > < a href = "mxITextShape.html#paintShape(com.mxgraph.canvas.mxGraphics2DCanvas,java.lang.String,com.mxgraph.view.mxCellState,java.util.Map)" > paintShape< / a > < / code > in interface < code > < a href = "mxITextShape.html" title = "interface in com.mxgraph.shape" > mxITextShape< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "updateLabelBounds(java.lang.String,java.util.Map)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateLabelBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > updateLabelBounds​ (java.lang.String label,
java.util.Map< java.lang.String,​ java.lang.Object> style)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Updates the cached position and size of each glyph in the edge label.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > label< / code > - the entire string of the label.< / dd >
< dd > < code > style< / code > - the edge style< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "postprocessGlyph(com.mxgraph.util.mxCurve,java.lang.String,int,double)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > postprocessGlyph< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected void postprocessGlyph​ (< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > curve,
2017-11-24 16:16:54 +00:00
java.lang.String label,
2016-06-02 09:57:18 +00:00
int j,
double currentPos)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for sub-classers to perform additional processing on
each glyph< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > curve< / code > - The curve object holding the label curve< / dd >
< dd > < code > label< / code > - the text label of the curve< / dd >
< dd > < code > j< / code > - the index of the label< / dd >
< dd > < code > currentPos< / code > - the distance along the label curve the glyph is< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "intersectsRect(java.awt.Rectangle)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > intersectsRect< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public boolean intersectsRect​ (java.awt.Rectangle rect)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns whether or not the rectangle passed in hits any part of this
curve.< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > rect< / code > - the rectangle to detect for a hit< / dd >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > whether or not the rectangle hits this curve< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "calculationLabelPosition(java.util.Map,java.lang.String)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > calculationLabelPosition< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > protected void calculationLabelPosition​ (java.util.Map< java.lang.String,​ java.lang.Object> style,
2017-11-24 16:16:54 +00:00
java.lang.String label)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook method to override how the label is positioned on the curve< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > style< / code > - the style of the curve< / dd >
< dd > < code > label< / code > - the string label to be displayed on the curve< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getCurve()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCurve< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > getCurve()< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the curve< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "setCurve(com.mxgraph.util.mxCurve)" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setCurve< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public void setCurve​ (< a href = "../util/mxCurve.html" title = "class in com.mxgraph.util" > mxCurve< / a > curve)< / pre >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > curve< / code > - the curve to set< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getLabelBounds()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLabelBounds< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getLabelBounds()< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< a id = "getCenterVisiblePosition()" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > getCenterVisiblePosition< / h4 >
2019-07-02 06:45:58 +00:00
< pre class = "methodSignature" > public < a href = "../util/mxRectangle.html" title = "class in com.mxgraph.util" > mxRectangle< / a > getCenterVisiblePosition()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the drawing bounds of the central indexed visible glyph< / div >
2016-06-02 09:57:18 +00:00
< dl >
< dt > < span class = "returnLabel" > Returns:< / span > < / dt >
< dd > the centerVisibleIndex< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
2019-07-02 06:45:58 +00:00
< / section >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / div >
< / div >
2019-07-02 06:45:58 +00:00
< / main >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
< footer role = "contentinfo" >
< nav role = "navigation" >
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
< div class = "bottomNav" > < a id = "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 >
2019-07-02 06:45:58 +00:00
< a id = "navbar.bottom.firstrow" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../index.html" > Overview< / a > < / li >
2014-04-01 11:30:48 +00:00
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxCurveLabelShape.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-10-17 08:36:14 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 4.0.5< / b > < / p > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_bottom" >
2019-07-02 06:45:58 +00:00
< li > < a href = "../../../allclasses.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 >
2016-06-02 09:57:18 +00:00
< li > < a href = "#nested.class.summary" > Nested< / a > | < / li >
< li > < a href = "#field.summary" > Field< / a > | < / li >
< li > < a href = "#constructor.summary" > Constr< / a > | < / li >
< li > < a href = "#method.summary" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "#field.detail" > Field< / a > | < / li >
< li > < a href = "#constructor.detail" > Constr< / a > | < / li >
< li > < a href = "#method.detail" > Method< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / div >
2019-07-02 06:45:58 +00:00
< a id = "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 ======= -->
2019-07-02 06:45:58 +00:00
< / nav >
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 >
2019-07-02 06:45:58 +00:00
< / footer >
2014-04-01 11:30:48 +00:00
< / body >
< / html >