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 >
2018-12-14 12:08:55 +00:00
<!-- Generated by javadoc (10.0.2) on Fri Dec 14 12:03:14 UTC 2018 -->
2018-12-14 11:54:12 +00:00
< title > mxGraphicsCanvas2D (mxGraph 3.9.12 API Specification)< / title >
2018-11-06 11:46:01 +00:00
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2018-12-14 11:54:12 +00:00
< meta name = "date" content = "2018-12-14" >
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) {
2018-12-14 11:54:12 +00:00
parent.document.title="mxGraphicsCanvas2D (mxGraph 3.9.12 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
//-->
2017-08-28 09:54:36 +00:00
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":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";
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/mxGraphicsCanvas2D.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 >
2018-12-14 11:54:12 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 3.9.12< / 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/canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > < 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/canvas/mxGraphicsCanvas2D.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "mxGraphicsCanvas2D.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 >
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 >
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/canvas/package-summary.html" > com.mxgraph.canvas< / a > < / div >
2014-04-01 11:30:48 +00:00
< h2 title = "Class mxGraphicsCanvas2D" class = "title" > Class mxGraphicsCanvas2D< / 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.canvas.mxGraphicsCanvas2D< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
2018-11-06 11:46:01 +00:00
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / 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" > mxGraphicsCanvas2D< / span >
2017-11-24 16:16:54 +00:00
extends java.lang.Object
2014-04-01 11:30:48 +00:00
implements < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / pre >
< div class = "block" > Used for exporting images. To render to an image from a given XML string,
2012-05-21 20:32:26 +00:00
graph size and background color, the following code is used:
< code >
BufferedImage image = mxUtils.createBufferedImage(width, height, background);
Graphics2D g2 = image.createGraphics();
mxUtils.setAntiAlias(g2, true, true);
XMLReader reader = SAXParserFactory.newInstance().newSAXParser().getXMLReader();
reader.setContentHandler(new mxSaxOutputHandler(new mxGraphicsCanvas2D(g2)));
reader.parse(new InputSource(new StringReader(xml)));
< / code >
Text rendering is available for plain text and HTML markup, the latter with optional
word wrapping. CSS support is limited to the following:
2014-04-01 11:30:48 +00:00
http://docs.oracle.com/javase/6/docs/api/index.html?javax/swing/text/html/CSS.html< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ======== NESTED CLASS 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 = "nested.class.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Nested Class Summary< / h3 >
2018-11-06 11:46:01 +00:00
< table class = "memberSummary" summary = "Nested Class Summary table, listing nested classes, and an explanation" >
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 > protected class < / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > < / span > < / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< / table >
< / li >
< / ul >
<!-- =========== FIELD SUMMARY =========== -->
< ul class = "blockList" >
2016-06-02 09:57:18 +00:00
< li class = "blockList" > < a name = "field.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
2018-11-06 11:46:01 +00:00
< table class = "memberSummary" summary = "Field Summary table, listing fields, and an explanation" >
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 > static int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#COLOR_CACHE_SIZE" > COLOR_CACHE_SIZE< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies the size of the cache used to store parsed colors< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.util.LinkedHashMap< java.lang.String,java.awt.Color> < / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#colorCache" > colorCache< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches parsed colors.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.geom.GeneralPath< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#currentPath" > currentPath< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Holds the current path.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Graphics2D< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#graphics" > graphics< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Reference to the graphics instance for painting.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2017-01-29 09:00:22 +00:00
< td class = "colFirst" > < code > static double< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#HTML_SCALE" > HTML_SCALE< / a > < / span > < / code > < / th >
< td class = "colLast" >
2017-01-29 09:00:22 +00:00
< div class = "block" > Scale for rendering HTML output.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#HTML_UNIT" > HTML_UNIT< / a > < / span > < / code > < / th >
< td class = "colLast" >
2017-01-29 09:00:22 +00:00
< div class = "block" > Unit to be used for HTML labels.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > static int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING" > IMAGE_SCALING< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies the image scaling quality.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-08-29 08:54:05 +00:00
< td class = "colFirst" > < code > static int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#JAVA_TEXT_WIDTH_DELTA" > JAVA_TEXT_WIDTH_DELTA< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-08-29 08:54:05 +00:00
< div class = "block" > Specifies the additional pixels when computing the text width for HTML labels.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastCap" > lastCap< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastDashed" > lastDashed< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.Object< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastDashPattern" > lastDashPattern< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Font< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastFont" > lastFont< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastFontFamily" > lastFontFamily< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastFontSize" > lastFontSize< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastFontStyle" > lastFontStyle< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected int< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastJoin" > lastJoin< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected float< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastMiterLimit" > lastMiterLimit< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Stroke< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastStroke" > lastStroke< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected float< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#lastStrokeWidth" > lastStrokeWidth< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected javax.swing.CellRendererPane< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#rendererPane" > rendererPane< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Optional renderer pane to be used for HTML label rendering.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.util.Stack< < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > > < / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#stack" > stack< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stack of states for save/restore.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > < / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#state" > state< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Represents the current state of the canvas.< / div >
< / td >
< / tr >
2014-08-29 08:54:05 +00:00
< tr class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected boolean< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#textEnabled" > textEnabled< / a > < / span > < / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Specifies if text output should be rendered.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR 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 = "constructor.summary" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
2018-11-06 11:46:01 +00:00
< table class = "memberSummary" summary = "Constructor Summary table, listing constructors, and an explanation" >
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" >
2018-11-06 11:46:01 +00:00
< th class = "colConstructorName" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#mxGraphicsCanvas2D-java.awt.Graphics2D-" > mxGraphicsCanvas2D< / a > < / span > ​ (java.awt.Graphics2D g)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructs a new graphics export canvas.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
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 = "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 > void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#begin--" > begin< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Begins a new path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i1" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > < / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#cloneState-com.mxgraph.canvas.mxGraphicsCanvas2D.CanvasState-" > cloneState< / a > < / span > ​ (< a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > state)< / code > < / th >
< td class = "colLast" >
2018-01-19 15:30:59 +00:00
< div class = "block" > Returns a clone of the given state.< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i2" 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/canvas/mxGraphicsCanvas2D.html#close--" > close< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Closes the current path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i3" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Font< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createFont-java.lang.String-int-int-" > createFont< / a > < / span > ​ (java.lang.String family,
2014-04-01 11:30:48 +00:00
int style,
2018-11-06 11:46:01 +00:00
int size)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for subclassers to implement font caching.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i4" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createHtmlDocument-java.lang.String-java.lang.String-" > createHtmlDocument< / a > < / span > ​ (java.lang.String text,
java.lang.String style)< / code > < / th >
< td class = "colLast" >
2015-01-05 14:01:01 +00:00
< div class = "block" > Creates a HTML document for the given text and CSS style.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i5" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createHtmlDocument-java.lang.String-java.lang.String-java.lang.String-int-int-boolean-java.lang.String-boolean-" > createHtmlDocument< / a > < / span > ​ (java.lang.String text,
2017-11-24 16:16:54 +00:00
java.lang.String align,
java.lang.String valign,
2014-04-01 11:30:48 +00:00
int w,
int h,
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String overflow,
2018-11-06 11:46:01 +00:00
boolean clip)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a HTML document around the given markup.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i6" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Graphics2D< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createImageGraphics-double-double-double-double-boolean-boolean-" > createImageGraphics< / a > < / span > ​ (double x,
2012-05-21 20:32:26 +00:00
double y,
double w,
double h,
2014-04-01 11:30:48 +00:00
boolean flipH,
2018-11-06 11:46:01 +00:00
boolean flipV)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a graphic instance for rendering an image.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i7" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Graphics2D< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#createTextGraphics-double-double-double-double-double-boolean-java.lang.String-java.lang.String-" > createTextGraphics< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
double h,
double rotation,
boolean clip,
2017-11-24 16:16:54 +00:00
java.lang.String align,
2018-11-06 11:46:01 +00:00
java.lang.String valign)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a new graphics instance with the correct color and font for
text rendering.< / 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 >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#curveTo-double-double-double-double-double-double-" > curveTo< / a > < / span > ​ (double x1,
2014-04-01 11:30:48 +00:00
double y1,
double x2,
double y2,
double x3,
2018-11-06 11:46:01 +00:00
double y3)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a bezier curve to the given point.< / div >
< / td >
< / 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 > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#drawImage-java.awt.Graphics2D-java.awt.Image-int-int-" > drawImage< / a > < / span > ​ (java.awt.Graphics2D graphics,
2017-11-24 16:16:54 +00:00
java.awt.Image image,
2014-04-01 11:30:48 +00:00
int x,
2018-11-06 11:46:01 +00:00
int y)< / code > < / th >
< 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" >
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/canvas/mxGraphicsCanvas2D.html#ellipse-double-double-double-double-" > ellipse< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
2018-11-06 11:46:01 +00:00
double h)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Next fill or stroke should draw an ellipse.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i11" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#fill--" > fill< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Fills the current path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i12" 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/canvas/mxGraphicsCanvas2D.html#fillAndStroke--" > fillAndStroke< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Fills and paints the outline of the current path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i13" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getFontName-java.lang.String-" > getFontName< / a > < / span > ​ (java.lang.String family)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a font name for the given CSS values for font-family.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i14" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > java.awt.Graphics2D< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getGraphics--" > getGraphics< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the graphics instance.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i15" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Rectangle< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getImageBounds-java.awt.Image-double-double-double-double-boolean-" > getImageBounds< / a > < / span > ​ (java.awt.Image img,
2014-04-01 11:30:48 +00:00
double x,
double y,
double w,
double h,
2018-11-06 11:46:01 +00:00
boolean aspect)< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i16" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Dimension< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getImageSize-java.awt.Image-" > getImageSize< / a > < / span > ​ (java.awt.Image image)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the size for the given image.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i17" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.geom.Point2D< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getMargin-java.lang.String-java.lang.String-" > getMargin< / a > < / span > ​ (java.lang.String align,
java.lang.String valign)< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i18" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected javax.swing.JLabel< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#getTextRenderer--" > getTextRenderer< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook to return the renderer for HTML formatted text.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i19" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#htmlText-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-" > htmlText< / a > < / span > ​ (double x,
2012-05-21 20:32:26 +00:00
double y,
double w,
2014-04-01 11:30:48 +00:00
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2014-04-01 11:30:48 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2014-04-01 11:30:48 +00:00
boolean clip,
2018-11-06 11:46:01 +00:00
double rotation)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given HTML text.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i20" 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/canvas/mxGraphicsCanvas2D.html#image-double-double-double-double-java.lang.String-boolean-boolean-boolean-" > image< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String src,
2014-04-01 11:30:48 +00:00
boolean aspect,
boolean flipH,
2018-11-06 11:46:01 +00:00
boolean flipV)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given image.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i21" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#isTextEnabled--" > isTextEnabled< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns true if text should be rendered.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i22" 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/canvas/mxGraphicsCanvas2D.html#lineTo-double-double-" > lineTo< / a > < / span > ​ (double x,
double y)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a line to the given path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i23" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Image< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#loadImage-java.lang.String-" > loadImage< / a > < / span > ​ (java.lang.String src)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for image caching.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i24" 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/canvas/mxGraphicsCanvas2D.html#moveTo-double-double-" > moveTo< / a > < / span > ​ (double x,
double y)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Moves to the given path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i25" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#paintCurrentPath-boolean-boolean-" > paintCurrentPath< / a > < / span > ​ (boolean filled,
boolean stroked)< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i26" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#paintShadow-boolean-boolean-" > paintShadow< / a > < / span > ​ (boolean filled,
boolean stroked)< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i27" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Color< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#parseColor-java.lang.String-" > parseColor< / a > < / span > ​ (java.lang.String hex)< / code > < / th >
< td class = "colLast" >
2016-06-02 09:57:18 +00:00
< div class = "block" > Helper method that uses < a href = "../../../com/mxgraph/util/mxUtils.html#parseColor-java.lang.String-" > < code > mxUtils.parseColor(String)< / code > < / a > .< / div >
2014-04-01 11:30:48 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i28" class = "altColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Color< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#parseColor-java.lang.String-double-" > parseColor< / a > < / span > ​ (java.lang.String hex,
double alpha)< / code > < / th >
< td class = "colLast" >
2016-06-02 09:57:18 +00:00
< div class = "block" > Helper method that uses < a href = "../../../com/mxgraph/util/mxUtils.html#parseColor-java.lang.String-" > < code > mxUtils.parseColor(String)< / code > < / a > .< / div >
2016-04-06 08:10:17 +00:00
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i29" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#plainText-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-" > plainText< / a > < / span > ​ (double x,
2013-05-23 16:14:48 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2013-05-23 16:14:48 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2013-05-23 16:14:48 +00:00
boolean clip,
2018-11-06 11:46:01 +00:00
double rotation)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given text.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i30" 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/canvas/mxGraphicsCanvas2D.html#quadTo-double-double-double-double-" > quadTo< / a > < / span > ​ (double x1,
2014-04-01 11:30:48 +00:00
double y1,
double x2,
2018-11-06 11:46:01 +00:00
double y2)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a quadratic curve to the given point.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i31" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#rect-double-double-double-double-" > rect< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
2018-11-06 11:46:01 +00:00
double h)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Next fill or stroke should draw a rectangle.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i32" 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/canvas/mxGraphicsCanvas2D.html#restore--" > restore< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Restores the last canvas state.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i33" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#rotate-double-boolean-boolean-double-double-" > rotate< / a > < / span > ​ (double theta,
2012-05-21 20:32:26 +00:00
boolean flipH,
2014-04-01 11:30:48 +00:00
boolean flipV,
double cx,
2018-11-06 11:46:01 +00:00
double cy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Rotates the canvas by the given angle around the given center.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i34" 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/canvas/mxGraphicsCanvas2D.html#roundrect-double-double-double-double-double-double-" > roundrect< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
double h,
double dx,
2018-11-06 11:46:01 +00:00
double dy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements a rounded rectangle using a path.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i35" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#save--" > save< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Saves the current canvas state.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i36" 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/canvas/mxGraphicsCanvas2D.html#scale-double-" > scale< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Uniformaly scales the canvas by the given amount.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i37" class = "rowColor" >
2017-11-24 16:16:54 +00:00
< td class = "colFirst" > < code > protected java.awt.Image< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#scaleImage-java.awt.Image-int-int-" > scaleImage< / a > < / span > ​ (java.awt.Image img,
2014-04-01 11:30:48 +00:00
int w,
2018-11-06 11:46:01 +00:00
int h)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Uses < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING" > < code > IMAGE_SCALING< / code > < / a > to scale the given image.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i38" 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/canvas/mxGraphicsCanvas2D.html#setAlpha-double-" > setAlpha< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value 1.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i39" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setDashed-boolean-" > setDashed< / a > < / span > ​ (boolean value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the dashed state.< / div >
< / td >
< / tr >
2016-06-02 09:57:18 +00:00
< tr id = "i40" 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/canvas/mxGraphicsCanvas2D.html#setDashed-boolean-boolean-" > setDashed< / a > < / span > ​ (boolean value,
boolean fixDash)< / code > < / th >
< td class = "colLast" >
2017-08-28 09:54:36 +00:00
< div class = "block" > Sets the dashed state.< / div >
< / td >
< / tr >
< tr id = "i41" class = "rowColor" >
< 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/canvas/mxGraphicsCanvas2D.html#setDashPattern-java.lang.String-" > setDashPattern< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the dash pattern.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i42" class = "altColor" >
2016-04-06 08:10:17 +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/canvas/mxGraphicsCanvas2D.html#setFillAlpha-double-" > setFillAlpha< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2016-04-06 08:10:17 +00:00
< div class = "block" > Default value 1.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i43" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setFillColor-java.lang.String-" > setFillColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i44" 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/canvas/mxGraphicsCanvas2D.html#setFontBackgroundColor-java.lang.String-" > setFontBackgroundColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i45" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setFontBorderColor-java.lang.String-" > setFontBorderColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i46" 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/canvas/mxGraphicsCanvas2D.html#setFontColor-java.lang.String-" > setFontColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i47" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setFontFamily-java.lang.String-" > setFontFamily< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY" > < code > mxConstants.DEFAULT_FONTFAMILY< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i48" 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/canvas/mxGraphicsCanvas2D.html#setFontSize-double-" > setFontSize< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE" > < code > mxConstants.DEFAULT_FONTSIZE< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i49" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setFontStyle-int-" > setFontStyle< / a > < / span > ​ (int value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value 0.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i50" 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/canvas/mxGraphicsCanvas2D.html#setGradient-java.lang.String-java.lang.String-double-double-double-double-java.lang.String-double-double-" > setGradient< / a > < / span > ​ (java.lang.String color1,
2017-11-24 16:16:54 +00:00
java.lang.String color2,
2014-04-01 11:30:48 +00:00
double x,
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String direction,
2014-04-01 11:30:48 +00:00
double alpha1,
2018-11-06 11:46:01 +00:00
double alpha2)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Prepares the canvas to draw a gradient.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i51" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setGraphics-java.awt.Graphics2D-" > setGraphics< / a > < / span > ​ (java.awt.Graphics2D value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the graphics instance.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i52" 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/canvas/mxGraphicsCanvas2D.html#setLineCap-java.lang.String-" > setLineCap< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the linecap.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i53" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setLineJoin-java.lang.String-" > setLineJoin< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the linejoin.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i54" 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/canvas/mxGraphicsCanvas2D.html#setMiterLimit-double-" > setMiterLimit< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the miterlimit.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i55" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setShadow-boolean-" > setShadow< / a > < / span > ​ (boolean value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Enables or disables the painting of shadows.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i56" 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/canvas/mxGraphicsCanvas2D.html#setShadowAlpha-double-" > setShadowAlpha< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i57" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setShadowColor-java.lang.String-" > setShadowColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i58" 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/canvas/mxGraphicsCanvas2D.html#setShadowOffset-double-double-" > setShadowOffset< / a > < / span > ​ (double dx,
double dy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i59" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setStrokeAlpha-double-" > setStrokeAlpha< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2016-04-06 08:10:17 +00:00
< div class = "block" > Default value 1.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i60" class = "altColor" >
2016-04-06 08:10:17 +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/canvas/mxGraphicsCanvas2D.html#setStrokeColor-java.lang.String-" > setStrokeColor< / a > < / span > ​ (java.lang.String value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches color conversion as it is expensive.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i61" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#setStrokeWidth-double-" > setStrokeWidth< / a > < / span > ​ (double value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the stroke width.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i62" 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/canvas/mxGraphicsCanvas2D.html#setTextEnabled-boolean-" > setTextEnabled< / a > < / span > ​ (boolean value)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Disables or enables text rendering.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i63" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#stroke--" > stroke< / a > < / span > ()< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Paints the outline of the current path.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i64" 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/canvas/mxGraphicsCanvas2D.html#text-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-java.lang.String-" > text< / a > < / span > ​ (double x,
2014-04-01 11:30:48 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2014-04-01 11:30:48 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2014-04-01 11:30:48 +00:00
boolean clip,
2015-03-05 09:43:42 +00:00
double rotation,
2018-11-06 11:46:01 +00:00
java.lang.String textDirection)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given text.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i65" class = "rowColor" >
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/canvas/mxGraphicsCanvas2D.html#translate-double-double-" > translate< / a > < / span > ​ (double dx,
double dy)< / code > < / th >
< td class = "colLast" >
2014-04-01 11:30:48 +00:00
< div class = "block" > Translates the canvas by the given amount.< / div >
< / td >
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i66" class = "altColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#updateFont--" > updateFont< / a > < / span > ()< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
2017-08-28 09:54:36 +00:00
< tr id = "i67" class = "rowColor" >
2014-04-01 11:30:48 +00:00
< td class = "colFirst" > < code > protected void< / code > < / td >
2018-11-06 11:46:01 +00:00
< th class = "colSecond" scope = "row" > < code > < span class = "memberNameLink" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#updateStroke--" > updateStroke< / a > < / span > ()< / code > < / th >
< td class = "colLast" > < / td >
2014-04-01 11:30:48 +00:00
< / tr >
< / table >
< ul class = "blockList" >
2016-06-02 09:57:18 +00:00
< li class = "blockList" > < a name = "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 >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD 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 = "field.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
< a name = "IMAGE_SCALING" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > IMAGE_SCALING< / h4 >
< pre > public static int IMAGE_SCALING< / pre >
< div class = "block" > Specifies the image scaling quality. Default is Image.SCALE_SMOOTH.
2016-06-02 09:57:18 +00:00
See < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#scaleImage-java.awt.Image-int-int-" > < code > scaleImage(Image, int, int)< / code > < / a > < / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2014-08-29 08:54:05 +00:00
< a name = "JAVA_TEXT_WIDTH_DELTA" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > JAVA_TEXT_WIDTH_DELTA< / h4 >
< pre > public static int JAVA_TEXT_WIDTH_DELTA< / pre >
< div class = "block" > Specifies the additional pixels when computing the text width for HTML labels.
2017-01-29 09:00:22 +00:00
Default is 5.< / div >
< / li >
< / ul >
< a name = "HTML_SCALE" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > HTML_SCALE< / h4 >
< pre > public static double HTML_SCALE< / pre >
< div class = "block" > Scale for rendering HTML output. Default is 1.< / div >
< / li >
< / ul >
< a name = "HTML_UNIT" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > HTML_UNIT< / h4 >
2017-11-24 16:16:54 +00:00
< pre > public static java.lang.String HTML_UNIT< / pre >
2017-08-28 09:54:36 +00:00
< div class = "block" > Unit to be used for HTML labels. Default is "pt". If you units within
HTML labels are used, this should match those units to produce a
consistent output. If the value is "px", then HTML_SCALE should be
changed the match the ratio between px units for rendering HTML and
the units used for rendering other graphics elements. This value is
0.6 on Linux and 0.75 on all other platforms.< / div >
2014-08-29 08:54:05 +00:00
< / li >
< / ul >
2014-04-01 11:30:48 +00:00
< a name = "COLOR_CACHE_SIZE" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > COLOR_CACHE_SIZE< / h4 >
< pre > public static int COLOR_CACHE_SIZE< / pre >
< div class = "block" > Specifies the size of the cache used to store parsed colors< / div >
< / li >
< / ul >
< a name = "graphics" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > graphics< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected java.awt.Graphics2D graphics< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Reference to the graphics instance for painting.< / div >
< / li >
< / ul >
< a name = "textEnabled" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > textEnabled< / h4 >
< pre > protected boolean textEnabled< / pre >
< div class = "block" > Specifies if text output should be rendered. Default is true.< / div >
< / li >
< / ul >
< a name = "state" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > state< / h4 >
< pre > protected transient < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > state< / pre >
< div class = "block" > Represents the current state of the canvas.< / div >
< / li >
< / ul >
< a name = "stack" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > stack< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.util.Stack< < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > > stack< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stack of states for save/restore.< / div >
< / li >
< / ul >
< a name = "currentPath" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > currentPath< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.awt.geom.GeneralPath currentPath< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Holds the current path.< / div >
< / li >
< / ul >
< a name = "rendererPane" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > rendererPane< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected javax.swing.CellRendererPane rendererPane< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Optional renderer pane to be used for HTML label rendering.< / div >
< / li >
< / ul >
< a name = "lastFont" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastFont< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.awt.Font lastFont< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / li >
< / ul >
< a name = "lastFontStyle" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastFontStyle< / h4 >
< pre > protected transient int lastFontStyle< / pre >
< div class = "block" > Font caching.< / div >
< / li >
< / ul >
< a name = "lastFontSize" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastFontSize< / h4 >
< pre > protected transient int lastFontSize< / pre >
< div class = "block" > Font caching.< / div >
< / li >
< / ul >
< a name = "lastFontFamily" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastFontFamily< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.lang.String lastFontFamily< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Font caching.< / div >
< / li >
< / ul >
< a name = "lastStroke" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastStroke< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.awt.Stroke lastStroke< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastStrokeWidth" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastStrokeWidth< / h4 >
< pre > protected transient float lastStrokeWidth< / pre >
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastCap" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastCap< / h4 >
< pre > protected transient int lastCap< / pre >
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastJoin" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastJoin< / h4 >
< pre > protected transient int lastJoin< / pre >
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastMiterLimit" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastMiterLimit< / h4 >
< pre > protected transient float lastMiterLimit< / pre >
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastDashed" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastDashed< / h4 >
< pre > protected transient boolean lastDashed< / pre >
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "lastDashPattern" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lastDashPattern< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.lang.Object lastDashPattern< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Stroke caching.< / div >
< / li >
< / ul >
< a name = "colorCache" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > colorCache< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected transient java.util.LinkedHashMap< java.lang.String,java.awt.Color> colorCache< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches parsed colors.< / div >
< / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR 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 = "constructor.detail" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
2016-06-02 09:57:18 +00:00
< a name = "mxGraphicsCanvas2D-java.awt.Graphics2D-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxGraphicsCanvas2D< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public mxGraphicsCanvas2D​ (java.awt.Graphics2D g)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Constructs a new graphics export canvas.< / div >
< / li >
< / ul >
< / li >
< / ul >
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 = "setGraphics-java.awt.Graphics2D-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setGraphics< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setGraphics​ (java.awt.Graphics2D value)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the graphics instance.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getGraphics--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getGraphics< / h4 >
2017-11-24 16:16:54 +00:00
< pre > public java.awt.Graphics2D getGraphics()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the graphics instance.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "isTextEnabled--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isTextEnabled< / h4 >
< pre > public boolean isTextEnabled()< / pre >
< div class = "block" > Returns true if text should be rendered.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setTextEnabled-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setTextEnabled< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setTextEnabled​ (boolean value)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Disables or enables text rendering.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "save--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > save< / h4 >
< pre > public void save()< / pre >
< div class = "block" > Saves the current canvas state.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#save--" > save< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "restore--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > restore< / h4 >
< pre > public void restore()< / pre >
< div class = "block" > Restores the last canvas state.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#restore--" > restore< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "cloneState-com.mxgraph.canvas.mxGraphicsCanvas2D.CanvasState-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > cloneState< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > cloneState​ (< a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D.CanvasState< / a > state)< / pre >
2018-01-19 15:30:59 +00:00
< div class = "block" > Returns a clone of the given state.< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "scale-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > scale< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void scale​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#scale-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Uniformaly scales the canvas by the given amount.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#scale-double-" > scale< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - The new scale value.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "translate-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > translate< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void translate​ (double dx,
2016-06-02 09:57:18 +00:00
double dy)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#translate-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Translates the canvas by the given amount.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#translate-double-double-" > translate< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > dx< / code > - X-coordinate of the translation.< / dd >
< dd > < code > dy< / code > - Y-coordinate of the translation.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "rotate-double-boolean-boolean-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > rotate< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void rotate​ (double theta,
2016-06-02 09:57:18 +00:00
boolean flipH,
boolean flipV,
double cx,
double cy)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#rotate-double-boolean-boolean-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Rotates the canvas by the given angle around the given center. This
method may add rendering overhead and should be used with care.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#rotate-double-boolean-boolean-double-double-" > rotate< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > theta< / code > - Rotation angle in degrees (0 - 360).< / dd >
< dd > < code > flipH< / code > - Specifies if drawing should be flipped horizontally.< / dd >
< dd > < code > flipV< / code > - Specifies if drawing should be flipped vertically.< / dd >
< dd > < code > cx< / code > - X-coordinate of the center point.< / dd >
< dd > < code > cy< / code > - Y-coordinate of the center point.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setStrokeWidth-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setStrokeWidth< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setStrokeWidth​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the stroke width. This should default to 1 if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeWidth-double-" > setStrokeWidth< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Width of the stroke. The value should be multiplied by the
current scale.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setStrokeColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setStrokeColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setStrokeColor​ (java.lang.String value)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Caches color conversion as it is expensive.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeColor-java.lang.String-" > setStrokeColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setDashed-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setDashed< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setDashed​ (boolean value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed-boolean-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the dashed state. This should default to false if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed-boolean-" > setDashed< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Boolean representing the dashed state.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2017-08-28 09:54:36 +00:00
< a name = "setDashed-boolean-boolean-" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setDashed< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setDashed​ (boolean value,
2017-08-28 09:54:36 +00:00
boolean fixDash)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed-boolean-boolean-" > mxICanvas2D< / a > < / code > < / span > < / div >
< div class = "block" > Sets the dashed state. This should default to false if unset.< / div >
< dl >
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashed-boolean-boolean-" > setDashed< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Boolean representing the dashed state.< / dd >
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setDashPattern-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setDashPattern< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setDashPattern​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the dash pattern. This should default to "3 3" if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setDashPattern-java.lang.String-" > setDashPattern< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Space separated list of floats representing the dash
pattern. The value should be multiplied by the current scale.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setLineCap-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setLineCap< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setLineCap​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the linecap. This should default to "flat" if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setLineCap-java.lang.String-" > setLineCap< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - "flat", "square" or "round".< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setLineJoin-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setLineJoin< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setLineJoin​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the linejoin. This should default to "miter" if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setLineJoin-java.lang.String-" > setLineJoin< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - "miter", "round" or "bevel".< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setMiterLimit-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMiterLimit< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setMiterLimit​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Sets the miterlimit. This should default to 10 if unset.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setMiterLimit-double-" > setMiterLimit< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontSize-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontSize< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontSize​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTSIZE" > < code > mxConstants.DEFAULT_FONTSIZE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontSize-double-" > setFontSize< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontColor​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontColor-java.lang.String-" > setFontColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontBackgroundColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontBackgroundColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontBackgroundColor​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBackgroundColor-java.lang.String-" > setFontBackgroundColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontBorderColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontBorderColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontBorderColor​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value "#000000".< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontBorderColor-java.lang.String-" > setFontBorderColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontFamily-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontFamily< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontFamily​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#DEFAULT_FONTFAMILY" > < code > mxConstants.DEFAULT_FONTFAMILY< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontFamily-java.lang.String-" > setFontFamily< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFontStyle-int-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFontStyle< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFontStyle​ (int value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle-int-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value 0. See < a href = "../../../com/mxgraph/util/mxConstants.html#STYLE_FONTSTYLE" > < code > mxConstants.STYLE_FONTSTYLE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFontStyle-int-" > setFontStyle< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setAlpha-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setAlpha< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setAlpha​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value 1. This method may add rendering overhead and should be
used with care.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setAlpha-double-" > setAlpha< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFillAlpha-double-" >
2016-04-06 08:10:17 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFillAlpha< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFillAlpha​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFillAlpha-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2016-04-06 08:10:17 +00:00
< div class = "block" > Default value 1. This method may add rendering overhead and should be
used with care.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFillAlpha-double-" > setFillAlpha< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2016-04-06 08:10:17 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setStrokeAlpha-double-" >
2016-04-06 08:10:17 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setStrokeAlpha< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setStrokeAlpha​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeAlpha-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2016-04-06 08:10:17 +00:00
< div class = "block" > Default value 1. This method may add rendering overhead and should be
used with care.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setStrokeAlpha-double-" > setStrokeAlpha< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2016-04-06 08:10:17 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setFillColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFillColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setFillColor​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setFillColor-java.lang.String-" > setFillColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setGradient-java.lang.String-java.lang.String-double-double-double-double-java.lang.String-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setGradient< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setGradient​ (java.lang.String color1,
2017-11-24 16:16:54 +00:00
java.lang.String color2,
2016-06-02 09:57:18 +00:00
double x,
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String direction,
2016-06-02 09:57:18 +00:00
double alpha1,
double alpha2)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setGradient-java.lang.String-java.lang.String-double-double-double-double-java.lang.String-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Prepares the canvas to draw a gradient.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setGradient-java.lang.String-java.lang.String-double-double-double-double-java.lang.String-double-double-" > setGradient< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< dd > < code > direction< / code > - Direction may be null. Use default value
2016-06-02 09:57:18 +00:00
< a href = "../../../com/mxgraph/util/mxConstants.html#DIRECTION_SOUTH" > < code > mxConstants.DIRECTION_SOUTH< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "parseColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > parseColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Color parseColor​ (java.lang.String hex)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > Helper method that uses < a href = "../../../com/mxgraph/util/mxUtils.html#parseColor-java.lang.String-" > < code > mxUtils.parseColor(String)< / code > < / a > .< / div >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "parseColor-java.lang.String-double-" >
2016-04-06 08:10:17 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > parseColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Color parseColor​ (java.lang.String hex,
2017-11-24 16:16:54 +00:00
double alpha)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > Helper method that uses < a href = "../../../com/mxgraph/util/mxUtils.html#parseColor-java.lang.String-" > < code > mxUtils.parseColor(String)< / code > < / a > .< / div >
2016-04-06 08:10:17 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "rect-double-double-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > rect< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void rect​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#rect-double-double-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Next fill or stroke should draw a rectangle.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#rect-double-double-double-double-" > rect< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "roundrect-double-double-double-double-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > roundrect< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void roundrect​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h,
double dx,
double dy)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Implements a rounded rectangle using a path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#roundrect-double-double-double-double-double-double-" > roundrect< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "ellipse-double-double-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > ellipse< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void ellipse​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#ellipse-double-double-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Next fill or stroke should draw an ellipse.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#ellipse-double-double-double-double-" > ellipse< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "image-double-double-double-double-java.lang.String-boolean-boolean-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > image< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void image​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String src,
2016-06-02 09:57:18 +00:00
boolean aspect,
boolean flipH,
boolean flipV)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#image-double-double-double-double-java.lang.String-boolean-boolean-boolean-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given image.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#image-double-double-double-double-java.lang.String-boolean-boolean-boolean-" > image< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "drawImage-java.awt.Graphics2D-java.awt.Image-int-int-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > drawImage< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected void drawImage​ (java.awt.Graphics2D graphics,
2017-11-24 16:16:54 +00:00
java.awt.Image image,
2016-06-02 09:57:18 +00:00
int x,
int y)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "loadImage-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > loadImage< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Image loadImage​ (java.lang.String src)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for image caching.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getImageBounds-java.awt.Image-double-double-double-double-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getImageBounds< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected final java.awt.Rectangle getImageBounds​ (java.awt.Image img,
2017-11-24 16:16:54 +00:00
double x,
double y,
double w,
double h,
boolean aspect)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getImageSize-java.awt.Image-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getImageSize< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Dimension getImageSize​ (java.awt.Image image)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the size for the given image.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "scaleImage-java.awt.Image-int-int-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > scaleImage< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Image scaleImage​ (java.awt.Image img,
2017-11-24 16:16:54 +00:00
int w,
int h)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Uses < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html#IMAGE_SCALING" > < code > IMAGE_SCALING< / code > < / a > to scale the given image.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "createImageGraphics-double-double-double-double-boolean-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createImageGraphics< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected final java.awt.Graphics2D createImageGraphics​ (double x,
2017-11-24 16:16:54 +00:00
double y,
double w,
double h,
boolean flipH,
boolean flipV)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a graphic instance for rendering an image.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "createHtmlDocument-java.lang.String-java.lang.String-java.lang.String-int-int-boolean-java.lang.String-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createHtmlDocument< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.lang.String createHtmlDocument​ (java.lang.String text,
2017-11-24 16:16:54 +00:00
java.lang.String align,
java.lang.String valign,
int w,
int h,
boolean wrap,
java.lang.String overflow,
boolean clip)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Creates a HTML document around the given markup.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "createHtmlDocument-java.lang.String-java.lang.String-" >
2015-01-05 14:01:01 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createHtmlDocument< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.lang.String createHtmlDocument​ (java.lang.String text,
2017-11-24 16:16:54 +00:00
java.lang.String style)< / pre >
2015-01-05 14:01:01 +00:00
< div class = "block" > Creates a HTML document for the given text and CSS style.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getTextRenderer--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getTextRenderer< / h4 >
2017-11-24 16:16:54 +00:00
< pre > protected javax.swing.JLabel getTextRenderer()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook to return the renderer for HTML formatted text. This implementation returns
the shared instance of mxLighweightLabel.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getMargin-java.lang.String-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMargin< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.geom.Point2D getMargin​ (java.lang.String align,
2017-11-24 16:16:54 +00:00
java.lang.String valign)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "htmlText-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > htmlText< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected void htmlText​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2016-06-02 09:57:18 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2016-06-02 09:57:18 +00:00
boolean clip,
double rotation)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given HTML text.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "text-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > text< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void text​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2016-06-02 09:57:18 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2016-06-02 09:57:18 +00:00
boolean clip,
double rotation,
2017-11-24 16:16:54 +00:00
java.lang.String textDirection)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given text.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#text-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-java.lang.String-" > text< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "plainText-double-double-double-double-java.lang.String-java.lang.String-java.lang.String-boolean-java.lang.String-java.lang.String-boolean-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > plainText< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void plainText​ (double x,
2016-06-02 09:57:18 +00:00
double y,
double w,
double h,
2017-11-24 16:16:54 +00:00
java.lang.String str,
java.lang.String align,
java.lang.String valign,
2016-06-02 09:57:18 +00:00
boolean wrap,
2017-11-24 16:16:54 +00:00
java.lang.String format,
java.lang.String overflow,
2016-06-02 09:57:18 +00:00
boolean clip,
double rotation)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws the given text.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "createTextGraphics-double-double-double-double-double-boolean-java.lang.String-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createTextGraphics< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected final java.awt.Graphics2D createTextGraphics​ (double x,
2017-11-24 16:16:54 +00:00
double y,
double w,
double h,
double rotation,
boolean clip,
java.lang.String align,
java.lang.String valign)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a new graphics instance with the correct color and font for
text rendering.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "begin--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > begin< / h4 >
< pre > public void begin()< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#begin--" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Begins a new path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#begin--" > begin< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "moveTo-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > moveTo< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void moveTo​ (double x,
2016-06-02 09:57:18 +00:00
double y)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Moves to the given path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#moveTo-double-double-" > moveTo< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "lineTo-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > lineTo< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void lineTo​ (double x,
2016-06-02 09:57:18 +00:00
double y)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a line to the given path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#lineTo-double-double-" > lineTo< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "quadTo-double-double-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > quadTo< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void quadTo​ (double x1,
2016-06-02 09:57:18 +00:00
double y1,
double x2,
double y2)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo-double-double-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a quadratic curve to the given point.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#quadTo-double-double-double-double-" > quadTo< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "curveTo-double-double-double-double-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > curveTo< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void curveTo​ (double x1,
2016-06-02 09:57:18 +00:00
double y1,
double x2,
double y2,
double x3,
double y3)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo-double-double-double-double-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Draws a bezier curve to the given point.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#curveTo-double-double-double-double-double-double-" > curveTo< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "close--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > close< / h4 >
< pre > public void close()< / pre >
< div class = "block" > Closes the current path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#close--" > close< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "stroke--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > stroke< / h4 >
< pre > public void stroke()< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#stroke--" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Paints the outline of the current path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#stroke--" > stroke< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "fill--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > fill< / h4 >
< pre > public void fill()< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#fill--" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Fills the current path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#fill--" > fill< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "fillAndStroke--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > fillAndStroke< / h4 >
< pre > public void fillAndStroke()< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke--" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Fills and paints the outline of the current path.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#fillAndStroke--" > fillAndStroke< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "paintCurrentPath-boolean-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > paintCurrentPath< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected void paintCurrentPath​ (boolean filled,
2016-06-02 09:57:18 +00:00
boolean stroked)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "paintShadow-boolean-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > paintShadow< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected void paintShadow​ (boolean filled,
2016-06-02 09:57:18 +00:00
boolean stroked)< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setShadow-boolean-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShadow< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setShadow​ (boolean value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow-boolean-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Enables or disables the painting of shadows.< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadow-boolean-" > setShadow< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Whether the shadow should be enabled.< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setShadowColor-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShadowColor< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setShadowColor​ (java.lang.String value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor-java.lang.String-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowColor-java.lang.String-" > setShadowColor< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setShadowAlpha-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShadowAlpha< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setShadowAlpha​ (double value)< / pre >
2016-06-02 09:57:18 +00:00
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowAlpha-double-" > setShadowAlpha< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > value< / code > - Hex representation of the color or < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / dd >
< / dl >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "setShadowOffset-double-double-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShadowOffset< / h4 >
2018-11-06 11:46:01 +00:00
< pre > public void setShadowOffset​ (double dx,
2016-06-02 09:57:18 +00:00
double dy)< / pre >
< div class = "block" > < span class = "descfrmTypeLabel" > Description copied from interface: < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset-double-double-" > mxICanvas2D< / a > < / code > < / span > < / div >
2014-04-01 11:30:48 +00:00
< div class = "block" > Default value < a href = "../../../com/mxgraph/util/mxConstants.html#NONE" > < code > mxConstants.NONE< / code > < / a > .< / div >
< dl >
2016-06-02 09:57:18 +00:00
< dt > < span class = "overrideSpecifyLabel" > Specified by:< / span > < / dt >
< dd > < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html#setShadowOffset-double-double-" > setShadowOffset< / a > < / code > in interface < code > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / code > < / dd >
2014-04-01 11:30:48 +00:00
< / dl >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "updateFont--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateFont< / h4 >
< pre > protected void updateFont()< / pre >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "createFont-java.lang.String-int-int-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > createFont< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.awt.Font createFont​ (java.lang.String family,
2017-11-24 16:16:54 +00:00
int style,
int size)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Hook for subclassers to implement font caching.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "getFontName-java.lang.String-" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getFontName< / h4 >
2018-11-06 11:46:01 +00:00
< pre > protected java.lang.String getFontName​ (java.lang.String family)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns a font name for the given CSS values for font-family.
2013-05-23 16:14:48 +00:00
This implementation returns the first entry for comma-separated
2014-04-01 11:30:48 +00:00
lists of entries.< / div >
< / li >
< / ul >
2016-06-02 09:57:18 +00:00
< a name = "updateStroke--" >
2014-04-01 11:30:48 +00:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > updateStroke< / h4 >
< pre > protected void updateStroke()< / pre >
< / 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/mxGraphicsCanvas2D.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 >
2018-12-14 11:54:12 +00:00
< div class = "aboutLanguage" > < p > < b > mxGraph 3.9.12< / 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/canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > < span class = "typeNameLink" > Prev Class< / span > < / a > < / li >
< li > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.CanvasState.html" title = "class in com.mxgraph.canvas" > < 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/canvas/mxGraphicsCanvas2D.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "mxGraphicsCanvas2D.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 >
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 >
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 >