jsdk-offical
Version:
JSDK is the most comprehensive TypeScript framework, like JDK.
817 lines • 54.8 kB
HTML
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Display | JSDK 2.7.0 API</title>
<meta name="description" content="Documentation for JSDK 2.7.0 API">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
</head>
<body>
<header>
<div class="tsd-page-toolbar">
<div class="container">
<div class="table-wrap">
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
<input id="tsd-search-field" type="text" />
</div>
<ul class="results">
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">JSDK 2.7.0 API</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
<div class="tsd-filter-group">
<div class="tsd-select" id="tsd-filter-visibility">
<span class="tsd-select-label">All</span>
<ul class="tsd-select-list">
<li data-value="public">Public</li>
<li data-value="protected">Public/Protected</li>
<li data-value="private" class="selected">All</li>
</ul>
</div>
<input type="checkbox" id="tsd-filter-inherited" checked />
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
<input type="checkbox" id="tsd-filter-externals" checked />
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
<input type="checkbox" id="tsd-filter-only-exported" />
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
</div>
</div>
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
</div>
</div>
</div>
</div>
<div class="tsd-page-title">
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../globals.html">Globals</a>
</li>
<li>
<a href="../modules/js.html">JS</a>
</li>
<li>
<a href="../modules/js.d2.html">d2</a>
</li>
<li>
<a href="js.d2.display.html">Display</a>
</li>
</ul>
<h1>Class Display</h1>
</div>
</div>
</header>
<div class="container container-main">
<div class="row">
<div class="col-8 col-content">
<section class="tsd-panel tsd-hierarchy">
<h3>Hierarchy</h3>
<ul class="tsd-hierarchy">
<li>
<span class="target">Display</span>
</li>
</ul>
</section>
<section class="tsd-panel-group tsd-index-group">
<h2>Index</h2>
<section class="tsd-panel tsd-index-panel">
<div class="tsd-index-content">
<section class="tsd-index-section ">
<h3>Constructors</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="js.d2.display.html#constructor" class="tsd-kind-icon">constructor</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-private-protected">
<h3>Properties</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="js.d2.display.html#_cfg" class="tsd-kind-icon">_cfg</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="js.d2.display.html#_ctx" class="tsd-kind-icon">_ctx</a></li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><a href="js.d2.display.html#_div" class="tsd-kind-icon">_div</a></li>
</ul>
</section>
<section class="tsd-index-section ">
<h3>Methods</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#appendchild" class="tsd-kind-icon">append<wbr>Child</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#changeimage" class="tsd-kind-icon">change<wbr>Image</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#changetext" class="tsd-kind-icon">change<wbr>Text</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#clear" class="tsd-kind-icon">clear</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#config" class="tsd-kind-icon">config</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawarc" class="tsd-kind-icon">draw<wbr>Arc</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawcircle" class="tsd-kind-icon">draw<wbr>Circle</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawimage" class="tsd-kind-icon">draw<wbr>Image</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawline" class="tsd-kind-icon">draw<wbr>Line</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawpath" class="tsd-kind-icon">draw<wbr>Path</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawrect" class="tsd-kind-icon">draw<wbr>Rect</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawtext" class="tsd-kind-icon">draw<wbr>Text</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#drawtri" class="tsd-kind-icon">draw<wbr>Tri</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#find" class="tsd-kind-icon">find</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#findall" class="tsd-kind-icon">find<wbr>All</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#removechild" class="tsd-kind-icon">remove<wbr>Child</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#setdrawstyle" class="tsd-kind-icon">set<wbr>Draw<wbr>Style</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="js.d2.display.html#updatechild" class="tsd-kind-icon">update<wbr>Child</a></li>
</ul>
</section>
<section class="tsd-index-section tsd-is-private-protected">
<h3>Object literals</h3>
<ul class="tsd-index-list">
<li class="tsd-kind-object-literal tsd-parent-kind-class tsd-is-protected"><a href="js.d2.display.html#_dstyle" class="tsd-kind-icon">_d<wbr>Style</a></li>
</ul>
</section>
</div>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Constructors</h2>
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
<a name="constructor" class="tsd-anchor"></a>
<h3>constructor</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">new <wbr>Display<span class="tsd-signature-symbol">(</span>cfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="js.d2.display.html" class="tsd-signature-type">Display</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>cfg: <a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="js.d2.display.html" class="tsd-signature-type">Display</a></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-private-protected">
<h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a name="_cfg" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _cfg</h3>
<div class="tsd-signature tsd-kind-icon">_cfg<span class="tsd-signature-symbol">:</span> <a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a name="_ctx" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _ctx</h3>
<div class="tsd-signature tsd-kind-icon">_ctx<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CanvasRenderingContext2D</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a name="_div" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _div</h3>
<div class="tsd-signature tsd-kind-icon">_div<span class="tsd-signature-symbol">:</span> <a href="../interfaces/htmlelement.html" class="tsd-signature-type">HTMLElement</a></div>
<aside class="tsd-sources">
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group ">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="appendchild" class="tsd-anchor"></a>
<h3>append<wbr>Child</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">append<wbr>Child<span class="tsd-signature-symbol">(</span>node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Node</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>node: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Node</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="changeimage" class="tsd-anchor"></a>
<h3>change<wbr>Image</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">change<wbr>Image<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, newImg<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>h<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>src<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol">; </span>w<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Replace an old image element with new image or sprite.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>id: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>image element's id</p>
</div>
</li>
<li>
<h5>newImg: <span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>h<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>src<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol">; </span>w<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5>
<div class="tsd-comment tsd-typography">
<p>new image data</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="changetext" class="tsd-anchor"></a>
<h3>change<wbr>Text</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">change<wbr>Text<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Replace an old text element with new text string.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>id: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>text element's id</p>
</div>
</li>
<li>
<h5>text: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>new text string</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="clear" class="tsd-anchor"></a>
<h3>clear</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">clear<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">?: </span><a href="../modules/js.d2.html#d2rect" class="tsd-signature-type">D2Rect</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> rect: <a href="../modules/js.d2.html#d2rect" class="tsd-signature-type">D2Rect</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="config" class="tsd-anchor"></a>
<h3>config</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a></li>
<li class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">(</span>cfg<span class="tsd-signature-symbol">: </span><a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a></h4>
</li>
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>cfg: <a href="../interfaces/js.d2.displayconfig.html" class="tsd-signature-type">DisplayConfig</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawarc" class="tsd-anchor"></a>
<h3>draw<wbr>Arc</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Arc<span class="tsd-signature-symbol">(</span>arc<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2cirarc" class="tsd-signature-type">D2CirArc</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.cirarc.html" class="tsd-signature-type">CirArc</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>arc: <a href="../modules/js.d2.html#d2cirarc" class="tsd-signature-type">D2CirArc</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.cirarc.html" class="tsd-signature-type">CirArc</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawcircle" class="tsd-anchor"></a>
<h3>draw<wbr>Circle</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Circle<span class="tsd-signature-symbol">(</span>arc<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2circle" class="tsd-signature-type">D2Circle</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.circle.html" class="tsd-signature-type">Circle</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>arc: <a href="../modules/js.d2.html#d2circle" class="tsd-signature-type">D2Circle</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.circle.html" class="tsd-signature-type">Circle</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawimage" class="tsd-anchor"></a>
<h3>draw<wbr>Image</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Image<span class="tsd-signature-symbol">(</span>img<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>h<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>src<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol">; </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span>, a<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.d2newelementattributes.html" class="tsd-signature-type">D2NewElementAttributes</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>img: <span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>h<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>src<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLImageElement</span><span class="tsd-signature-symbol">; </span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> a: <a href="../interfaces/js.d2.d2newelementattributes.html" class="tsd-signature-type">D2NewElementAttributes</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawline" class="tsd-anchor"></a>
<h3>draw<wbr>Line</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Line<span class="tsd-signature-symbol">(</span>line<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2line" class="tsd-signature-type">D2Line</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.line.html" class="tsd-signature-type">Line</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>line: <a href="../modules/js.d2.html#d2line" class="tsd-signature-type">D2Line</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.line.html" class="tsd-signature-type">Line</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.segment.html" class="tsd-signature-type">Segment</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawpath" class="tsd-anchor"></a>
<h3>draw<wbr>Path</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Path<span class="tsd-signature-symbol">(</span>p<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2path" class="tsd-signature-type">D2Path</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>p: <a href="../modules/js.d2.html#d2path" class="tsd-signature-type">D2Path</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawrect" class="tsd-anchor"></a>
<h3>draw<wbr>Rect</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Rect<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2rect" class="tsd-signature-type">D2Rect</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.rectdrawstyle.html" class="tsd-signature-type">RectDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>rect: <a href="../modules/js.d2.html#d2rect" class="tsd-signature-type">D2Rect</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.rect.html" class="tsd-signature-type">Rect</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.rectdrawstyle.html" class="tsd-signature-type">RectDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawtext" class="tsd-anchor"></a>
<h3>draw<wbr>Text</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Text<span class="tsd-signature-symbol">(</span>t<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2text" class="tsd-signature-type">D2Text</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.textdrawstyle.html" class="tsd-signature-type">TextDrawStyle</a>, a<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.d2newelementattributes.html" class="tsd-signature-type">D2NewElementAttributes</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>t: <a href="../modules/js.d2.html#d2text" class="tsd-signature-type">D2Text</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.textdrawstyle.html" class="tsd-signature-type">TextDrawStyle</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> a: <a href="../interfaces/js.d2.d2newelementattributes.html" class="tsd-signature-type">D2NewElementAttributes</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="drawtri" class="tsd-anchor"></a>
<h3>draw<wbr>Tri</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">draw<wbr>Tri<span class="tsd-signature-symbol">(</span>tri<span class="tsd-signature-symbol">: </span><a href="../modules/js.d2.html#d2triangle" class="tsd-signature-type">D2Triangle</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.triangle.html" class="tsd-signature-type">Triangle</a>, style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>tri: <a href="../modules/js.d2.html#d2triangle" class="tsd-signature-type">D2Triangle</a><span class="tsd-signature-symbol"> | </span><a href="js.math.geom.triangle.html" class="tsd-signature-type">Triangle</a></h5>
</li>
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.transformdrawstyle.html" class="tsd-signature-type">TransformDrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="find" class="tsd-anchor"></a>
<h3>find</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">find<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/htmlelement.html" class="tsd-signature-type">HTMLElement</a></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>selector: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/htmlelement.html" class="tsd-signature-type">HTMLElement</a></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="findall" class="tsd-anchor"></a>
<h3>find<wbr>All</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">find<wbr>All<span class="tsd-signature-symbol">(</span>selector<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NodeListOf</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/htmlelement.html" class="tsd-signature-type">HTMLElement</a><span class="tsd-signature-symbol">></span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>selector: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">NodeListOf</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/htmlelement.html" class="tsd-signature-type">HTMLElement</a><span class="tsd-signature-symbol">></span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="removechild" class="tsd-anchor"></a>
<h3>remove<wbr>Child</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">remove<wbr>Child<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Delete a child element of the div.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>id: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="setdrawstyle" class="tsd-anchor"></a>
<h3>set<wbr>Draw<wbr>Style</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">set<wbr>Draw<wbr>Style<span class="tsd-signature-symbol">(</span>style<span class="tsd-signature-symbol">?: </span><a href="../interfaces/js.d2.drawstyle.html" class="tsd-signature-type">DrawStyle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <a href="../interfaces/js.d2.drawstyle.html" class="tsd-signature-type">DrawStyle</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="updatechild" class="tsd-anchor"></a>
<h3>update<wbr>Child</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">update<wbr>Child<span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, a<span class="tsd-signature-symbol">: </span><a href="../interfaces/js.d2.d2elementattributes.html" class="tsd-signature-type">D2ElementAttributes</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Change an child element with new attributs.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>id: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>child element's id</p>
</div>
</li>
<li>
<h5>a: <a href="../interfaces/js.d2.d2elementattributes.html" class="tsd-signature-type">D2ElementAttributes</a></h5>
<div class="tsd-comment tsd-typography">
<p>new attributs</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group tsd-is-private-protected">
<h2>Object literals</h2>
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-class tsd-is-protected">
<a name="_dstyle" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagProtected">Protected</span> _d<wbr>Style</h3>
<div class="tsd-signature tsd-kind-icon">_d<wbr>Style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.linewidth" class="tsd-anchor"></a>
<h3>line<wbr>Width</h3>
<div class="tsd-signature tsd-kind-icon">line<wbr>Width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.strokestyle" class="tsd-anchor"></a>
<h3>stroke<wbr>Style</h3>
<div class="tsd-signature tsd-kind-icon">stroke<wbr>Style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "#000000"</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-object-literal">
<a name="_dstyle.shadowstyle" class="tsd-anchor"></a>
<h3>shadow<wbr>Style</h3>
<div class="tsd-signature tsd-kind-icon">shadow<wbr>Style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.shadowstyle.blur" class="tsd-anchor"></a>
<h3>blur</h3>
<div class="tsd-signature tsd-kind-icon">blur<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.shadowstyle.color" class="tsd-anchor"></a>
<h3>color</h3>
<div class="tsd-signature tsd-kind-icon">color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = "#000000"</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.shadowstyle.offsetx" class="tsd-anchor"></a>
<h3>offsetX</h3>
<div class="tsd-signature tsd-kind-icon">offsetX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
<a name="_dstyle.shadowstyle.offsety" class="tsd-anchor"></a>
<h3>offsetY</h3>
<div class="tsd-signature tsd-kind-icon">offsetY<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div>
<aside class="tsd-sources">
</aside>
</section>
</section>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<nav class="tsd-navigation primary">
<ul>
<li class="globals ">
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class="current tsd-kind-namespace">
<a href="../modules/js.html">JS</a>
<ul>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.an.html">an</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.app.html">app</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.core.html">core</a>
</li>
<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.d2.html">d2</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.ds.html">ds</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.fx.html">fx</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.input.html">input</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.ioc.html">ioc</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.lang.html">lang</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.math.html">math</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.media.html">media</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.model.html">model</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.net.html">net</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.store.html">store</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.sugar.html">sugar</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.ui.html">ui</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.unit.html">unit</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.util.html">util</a>
</li>
<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
<a href="../modules/js.view.html">view</a>
</li>
</ul>
</li>
</ul>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
</ul>
<ul class="current">
<li class="current tsd-kind-class tsd-parent-kind-namespace">
<a href="js.d2.display.html" class="tsd-kind-icon">Display</a>
<ul>
<li class=" tsd-kind-constructor tsd-parent-kind-class">
<a href="js.d2.display.html#constructor" class="tsd-kind-icon">constructor</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a href="js.d2.display.html#_cfg" class="tsd-kind-icon">_cfg</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a href="js.d2.display.html#_ctx" class="tsd-kind-icon">_ctx</a>
</li>
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-protected">
<a href="js.d2.display.html#_div" class="tsd-kind-icon">_div</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#appendchild" class="tsd-kind-icon">append<wbr>Child</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#changeimage" class="tsd-kind-icon">change<wbr>Image</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#changetext" class="tsd-kind-icon">change<wbr>Text</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#clear" class="tsd-kind-icon">clear</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#config" class="tsd-kind-icon">config</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawarc" class="tsd-kind-icon">draw<wbr>Arc</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawcircle" class="tsd-kind-icon">draw<wbr>Circle</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawimage" class="tsd-kind-icon">draw<wbr>Image</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawline" class="tsd-kind-icon">draw<wbr>Line</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawpath" class="tsd-kind-icon">draw<wbr>Path</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawrect" class="tsd-kind-icon">draw<wbr>Rect</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawtext" class="tsd-kind-icon">draw<wbr>Text</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#drawtri" class="tsd-kind-icon">draw<wbr>Tri</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#find" class="tsd-kind-icon">find</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="js.d2.display.html#findall" class="tsd-