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 11:54:12 +00:00
<!-- Generated by javadoc (10.0.2) on Fri Dec 14 10:40:09 UTC 2018 -->
< title > com.mxgraph.canvas (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="com.mxgraph.canvas (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
//-->
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 class = "navBarCell1Rev" > Package< / li >
< li > Class< / li >
< li > < a href = "package-use.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/analysis/package-summary.html" > Prev Package< / a > < / li >
< li > < a href = "../../../com/mxgraph/costfunction/package-summary.html" > Next Package< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/canvas/package-summary.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "package-summary.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 >
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 >
2014-04-01 11:30:48 +00:00
< div class = "header" >
< h1 title = "Package" class = "title" > Package com.mxgraph.canvas< / h1 >
2018-11-06 11:46:01 +00:00
< / div >
< div class = "contentContainer" > < a name = "package.description" >
<!-- -->
< / a >
2014-04-01 11:30:48 +00:00
< div class = "block" > This package contains various implementations for painting a graph using
different technologies, such as Graphics2D, HTML, SVG or VML.< / div >
< ul class = "blockList" >
< li class = "blockList" >
2018-11-06 11:46:01 +00:00
< table class = "typeSummary" summary = "Interface Summary table, listing interfaces, and an explanation" >
2014-04-01 11:30:48 +00:00
< caption > < span > Interface Summary< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Interface< / th >
< th class = "colLast" scope = "col" > Description< / th >
< / tr >
< tbody >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxICanvas.html" title = "interface in com.mxgraph.canvas" > mxICanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Defines the requirements for a canvas that paints the vertices and edges of
a graph.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxICanvas2D.html" title = "interface in com.mxgraph.canvas" > mxICanvas2D< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Requirements for implementing technologies:
2012-05-21 20:32:26 +00:00
- Path rendering (move, line, quad, curve, arc)
- Images, flip v/h, aspect, alpha (PNG, JPG, GIF)
- Linear gradients (in all four directions)
- Transparency, fill and stroke
- Rotation, flip v/h
- Font rendering
- Dash patterns
- Clipping by path (not just rectangle)
- Alpha gradients (for glass effect)
2014-04-01 11:30:48 +00:00
- Encode result as image (PNG, JPG)< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / li >
< li class = "blockList" >
2018-11-06 11:46:01 +00:00
< table class = "typeSummary" summary = "Class Summary table, listing classes, and an explanation" >
2014-04-01 11:30:48 +00:00
< caption > < span > Class Summary< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Class< / th >
< th class = "colLast" scope = "col" > Description< / th >
< / tr >
< tbody >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxBasicCanvas.html" title = "class in com.mxgraph.canvas" > mxBasicCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxGraphics2DCanvas.html" title = "class in com.mxgraph.canvas" > mxGraphics2DCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > An implementation of a canvas that uses Graphics2D for painting.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2018-11-06 11:46:01 +00:00
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxGraphicsCanvas2D.html" title = "class in com.mxgraph.canvas" > mxGraphicsCanvas2D< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > Used for exporting images.< / div >
< / td >
< / tr >
2018-11-06 11:46:01 +00:00
< tr class = "rowColor" >
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxHtmlCanvas.html" title = "class in com.mxgraph.canvas" > mxHtmlCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > An implementation of a canvas that uses HTML for painting.< / div >
< / td >
< / tr >
2018-11-06 11:46:01 +00:00
< tr class = "altColor" >
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxImageCanvas.html" title = "class in com.mxgraph.canvas" > mxImageCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > An implementation of a canvas that uses Graphics2D for painting.< / div >
< / td >
< / tr >
2018-11-06 11:46:01 +00:00
< tr class = "rowColor" >
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxSvgCanvas.html" title = "class in com.mxgraph.canvas" > mxSvgCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > An implementation of a canvas that uses SVG for painting.< / div >
< / td >
< / tr >
2018-11-06 11:46:01 +00:00
< tr class = "altColor" >
< th class = "colFirst" scope = "row" > < a href = "../../../com/mxgraph/canvas/mxVmlCanvas.html" title = "class in com.mxgraph.canvas" > mxVmlCanvas< / a > < / th >
2014-04-01 11:30:48 +00:00
< td class = "colLast" >
< div class = "block" > An implementation of a canvas that uses VML for painting.< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / li >
< / ul >
< / div >
2012-05-21 20:32:26 +00:00
<!-- ======= 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 class = "navBarCell1Rev" > Package< / li >
< li > Class< / li >
< li > < a href = "package-use.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/analysis/package-summary.html" > Prev Package< / a > < / li >
< li > < a href = "../../../com/mxgraph/costfunction/package-summary.html" > Next Package< / a > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../index.html?com/mxgraph/canvas/package-summary.html" target = "_top" > Frames< / a > < / li >
2016-06-02 09:57:18 +00:00
< li > < a href = "package-summary.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 >
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 >