163 lines
96 KiB
HTML
163 lines
96 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>CellState | @maxgraph/core</title><meta name="description" content="Documentation for @maxgraph/core"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></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">@maxgraph/core</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></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="../index.html">@maxgraph/core</a></li><li><a href="CellState.html">CellState</a></li></ul><h1>Class CellState</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Represents the current state of a cell in a given <a href="GraphView.html">GraphView</a>.</p>
|
|
</div><div><p>For edges, the edge label position is stored in <absoluteOffset>.</p>
|
|
<p>The size for oversize labels can be retrieved using the boundingBox property
|
|
of the <text> field as shown below.</p>
|
|
<pre><code class="language-javascript"><span class="hl-3">let</span><span class="hl-1"> </span><span class="hl-0">bbox</span><span class="hl-1"> = (</span><span class="hl-0">state</span><span class="hl-1">.</span><span class="hl-0">text</span><span class="hl-1"> != </span><span class="hl-3">null</span><span class="hl-1">) ? </span><span class="hl-0">state</span><span class="hl-1">.</span><span class="hl-0">text</span><span class="hl-1">.</span><span class="hl-0">boundingBox</span><span class="hl-1"> : </span><span class="hl-3">null</span><span class="hl-1">;</span>
|
|
</code></pre>
|
|
<p>Constructor: CellState</p>
|
|
<p>Constructs a new object that represents the current state of the given
|
|
cell in the specified view.</p>
|
|
</div><dl class="tsd-comment-tags"><dt>param view</dt><dd><p><a href="GraphView.html">GraphView</a> that contains the state.</p>
|
|
</dd><dt>param cell</dt><dd><p><Cell> that this state represents.</p>
|
|
</dd><dt>param style</dt><dd><p>Array of key, value pairs that constitute the style.</p>
|
|
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><ul class="tsd-hierarchy"><li><span class="target">CellState</span></li></ul></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 tsd-is-overwrite"><a href="CellState.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_height" class="tsd-kind-icon">_height</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_width" class="tsd-kind-icon">_width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_x" class="tsd-kind-icon">_x</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_y" class="tsd-kind-icon">_y</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#absoluteOffset" class="tsd-kind-icon">absolute<wbr/>Offset</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#absolutePoints" class="tsd-kind-icon">absolute<wbr/>Points</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#boundingBox" class="tsd-kind-icon">bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#cellBounds" class="tsd-kind-icon">cell<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#control" class="tsd-kind-icon">control</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#invalid" class="tsd-kind-icon">invalid</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#invalidStyle" class="tsd-kind-icon">invalid<wbr/>Style</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#length" class="tsd-kind-icon">length</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#node" class="tsd-kind-icon">node</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#origin" class="tsd-kind-icon">origin</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#overlays" class="tsd-kind-icon">overlays</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#paintBounds" class="tsd-kind-icon">paint<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#parentHighlight" class="tsd-kind-icon">parent<wbr/>Highlight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#point" class="tsd-kind-icon">point</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#segments" class="tsd-kind-icon">segments</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#shape" class="tsd-kind-icon">shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#terminalDistance" class="tsd-kind-icon">terminal<wbr/>Distance</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#text" class="tsd-kind-icon">text</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#unscaledHeight" class="tsd-kind-icon">unscaled<wbr/>Height</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#unscaledWidth" class="tsd-kind-icon">unscaled<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#view" class="tsd-kind-icon">view</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#visibleSourceState" class="tsd-kind-icon">visible<wbr/>Source<wbr/>State</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#visibleTargetState" class="tsd-kind-icon">visible<wbr/>Target<wbr/>State</a></li></ul></section><section class="tsd-index-section tsd-is-inherited"><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#height" class="tsd-kind-icon">height</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#width" class="tsd-kind-icon">width</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#x" class="tsd-kind-icon">x</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#y" class="tsd-kind-icon">y</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 tsd-is-inherited"><a href="CellState.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="CellState.html#clone" class="tsd-kind-icon">clone</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getCellBounds" class="tsd-kind-icon">get<wbr/>Cell<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getCenterX" class="tsd-kind-icon">get<wbr/>CenterX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getCenterY" class="tsd-kind-icon">get<wbr/>CenterY</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getImageSrc" class="tsd-kind-icon">get<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorColor" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorGradientColor" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Gradient<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorImageSrc" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorShape" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getPaintBounds" class="tsd-kind-icon">get<wbr/>Paint<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getPerimeterBounds" class="tsd-kind-icon">get<wbr/>Perimeter<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getPoint" class="tsd-kind-icon">get<wbr/>Point</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVerticalAlign" class="tsd-kind-icon">get<wbr/>Vertical<wbr/>Align</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVisibleTerminal" class="tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVisibleTerminalState" class="tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#grow" class="tsd-kind-icon">grow</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#intersect" class="tsd-kind-icon">intersect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#isLoop" class="tsd-kind-icon">is<wbr/>Loop</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#isTransparentState" class="tsd-kind-icon">is<wbr/>Transparent<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#rotate90" class="tsd-kind-icon">rotate90</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setAbsoluteTerminalPoint" class="tsd-kind-icon">set<wbr/>Absolute<wbr/>Terminal<wbr/>Point</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setCursor" class="tsd-kind-icon">set<wbr/>Cursor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#setRect" class="tsd-kind-icon">set<wbr/>Rect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setVisibleTerminalState" class="tsd-kind-icon">set<wbr/>Visible<wbr/>Terminal<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#updateCachedBounds" class="tsd-kind-icon">update<wbr/>Cached<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="CellState.html#fromRectangle" class="tsd-kind-icon">from<wbr/>Rectangle</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 tsd-is-overwrite"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">new <wbr/>Cell<wbr/>State<span class="tsd-signature-symbol">(</span>view<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="GraphView.html" class="tsd-signature-type" data-tsd-kind="Class">GraphView</a>, cell<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, style<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">CellStateStyles</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L155">view/cell/CellState.ts:155</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>view: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="GraphView.html" class="tsd-signature-type" data-tsd-kind="Class">GraphView</a><span class="tsd-signature-symbol"> = null</span></h5></li><li><h5>cell: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></h5></li><li><h5>style: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">CellStateStyles</span><span class="tsd-signature-symbol"> = null</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="_height" class="tsd-anchor"></a><h3>_height</h3><div class="tsd-signature tsd-kind-icon">_height<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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#_height">_height</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L41">view/geometry/Rectangle.ts:41</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the height of the rectangle. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="_width" class="tsd-anchor"></a><h3>_width</h3><div class="tsd-signature tsd-kind-icon">_width<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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#_width">_width</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L36">view/geometry/Rectangle.ts:36</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the width of the rectangle. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="_x" class="tsd-anchor"></a><h3>_x</h3><div class="tsd-signature tsd-kind-icon">_x<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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#_x">_x</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L25">view/geometry/Point.ts:25</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the x-coordinate of the point. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="_y" class="tsd-anchor"></a><h3>_y</h3><div class="tsd-signature tsd-kind-icon">_y<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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#_y">_y</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L30">view/geometry/Point.ts:30</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the y-coordinate of the point. Default is 0.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="absoluteOffset" class="tsd-anchor"></a><h3>absolute<wbr/>Offset</h3><div class="tsd-signature tsd-kind-icon">absolute<wbr/>Offset<span class="tsd-signature-symbol">:</span> <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L102">view/cell/CellState.ts:102</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><a href="Point.html">Point</a> that holds the absolute offset. For edges, this is the
|
|
absolute coordinates of the label position. For vertices, this is the
|
|
offset of the label relative to the top, left corner of the vertex.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="absolutePoints" class="tsd-anchor"></a><h3>absolute<wbr/>Points</h3><div class="tsd-signature tsd-kind-icon">absolute<wbr/>Points<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L95">view/cell/CellState.ts:95</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds an array of <Point> that represent the absolute points of an
|
|
edge.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="boundingBox" class="tsd-anchor"></a><h3>bounding<wbr/>Box</h3><div class="tsd-signature tsd-kind-icon">bounding<wbr/>Box<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L51">view/cell/CellState.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cell" class="tsd-anchor"></a><h3>cell</h3><div class="tsd-signature tsd-kind-icon">cell<span class="tsd-signature-symbol">:</span> <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L67">view/cell/CellState.ts:67</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the <Cell> that is represented by this state.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cellBounds" class="tsd-anchor"></a><h3>cell<wbr/>Bounds</h3><div class="tsd-signature tsd-kind-icon">cell<wbr/>Bounds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L47">view/cell/CellState.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="control" class="tsd-anchor"></a><h3>control</h3><div class="tsd-signature tsd-kind-icon">control<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L54">view/cell/CellState.ts:54</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="invalid" class="tsd-anchor"></a><h3>invalid</h3><div class="tsd-signature tsd-kind-icon">invalid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L83">view/cell/CellState.ts:83</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the state is invalid. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="invalidStyle" class="tsd-anchor"></a><h3>invalid<wbr/>Style</h3><div class="tsd-signature tsd-kind-icon">invalid<wbr/>Style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L78">view/cell/CellState.ts:78</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the style is invalid. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="length" class="tsd-anchor"></a><h3>length</h3><div class="tsd-signature tsd-kind-icon">length<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L122">view/cell/CellState.ts:122</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Caches the length of an edge.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="node" class="tsd-anchor"></a><h3>node</h3><div class="tsd-signature tsd-kind-icon">node<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L44">view/cell/CellState.ts:44</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="origin" class="tsd-anchor"></a><h3>origin</h3><div class="tsd-signature tsd-kind-icon">origin<span class="tsd-signature-symbol">:</span> <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L89">view/cell/CellState.ts:89</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><a href="Point.html">Point</a> that holds the origin for all child cells. Default is a new
|
|
empty <a href="Point.html">Point</a>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="overlays" class="tsd-anchor"></a><h3>overlays</h3><div class="tsd-signature tsd-kind-icon">overlays<span class="tsd-signature-symbol">:</span> <a href="Dictionary.html" class="tsd-signature-type" data-tsd-kind="Class">Dictionary</a><span class="tsd-signature-symbol"><</span><a href="CellOverlay.html" class="tsd-signature-type" data-tsd-kind="Class">CellOverlay</a><span class="tsd-signature-symbol">, </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L57">view/cell/CellState.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="paintBounds" class="tsd-anchor"></a><h3>paint<wbr/>Bounds</h3><div class="tsd-signature tsd-kind-icon">paint<wbr/>Bounds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L49">view/cell/CellState.ts:49</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="parentHighlight" class="tsd-anchor"></a><h3>parent<wbr/>Highlight</h3><div class="tsd-signature tsd-kind-icon">parent<wbr/>Highlight<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L151">view/cell/CellState.ts:151</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="point" class="tsd-anchor"></a><h3>point</h3><div class="tsd-signature tsd-kind-icon">point<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L153">view/cell/CellState.ts:153</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="segments" class="tsd-anchor"></a><h3>segments</h3><div class="tsd-signature tsd-kind-icon">segments<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></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L128">view/cell/CellState.ts:128</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Array of numbers that represent the cached length of each segment of the
|
|
edge.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="shape" class="tsd-anchor"></a><h3>shape</h3><div class="tsd-signature tsd-kind-icon">shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L133">view/cell/CellState.ts:133</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the <a href="Shape.html">Shape</a> that represents the cell graphically.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="style" class="tsd-anchor"></a><h3>style</h3><div class="tsd-signature tsd-kind-icon">style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CellStateStyles</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L73">view/cell/CellState.ts:73</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Contains an array of key, value pairs that represent the style of the
|
|
cell.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="terminalDistance" class="tsd-anchor"></a><h3>terminal<wbr/>Distance</h3><div class="tsd-signature tsd-kind-icon">terminal<wbr/>Distance<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L117">view/cell/CellState.ts:117</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Caches the distance between the end points for an edge.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="text" class="tsd-anchor"></a><h3>text</h3><div class="tsd-signature tsd-kind-icon">text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="TextShape.html" class="tsd-signature-type" data-tsd-kind="Class">TextShape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L139">view/cell/CellState.ts:139</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the {@link Text} that represents the label of the cell. Thi smay be
|
|
null if the cell has no label.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="unscaledHeight" class="tsd-anchor"></a><h3>unscaled<wbr/>Height</h3><div class="tsd-signature tsd-kind-icon">unscaled<wbr/>Height<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L149">view/cell/CellState.ts:149</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the unscaled height of the state.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="unscaledWidth" class="tsd-anchor"></a><h3>unscaled<wbr/>Width</h3><div class="tsd-signature tsd-kind-icon">unscaled<wbr/>Width<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L144">view/cell/CellState.ts:144</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the unscaled width of the state.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="view" class="tsd-anchor"></a><h3>view</h3><div class="tsd-signature tsd-kind-icon">view<span class="tsd-signature-symbol">:</span> <a href="GraphView.html" class="tsd-signature-type" data-tsd-kind="Class">GraphView</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L62">view/cell/CellState.ts:62</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the enclosing <a href="GraphView.html">GraphView</a>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="visibleSourceState" class="tsd-anchor"></a><h3>visible<wbr/>Source<wbr/>State</h3><div class="tsd-signature tsd-kind-icon">visible<wbr/>Source<wbr/>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L107">view/cell/CellState.ts:107</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Caches the visible source terminal state.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="visibleTargetState" class="tsd-anchor"></a><h3>visible<wbr/>Target<wbr/>State</h3><div class="tsd-signature tsd-kind-icon">visible<wbr/>Target<wbr/>State<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L112">view/cell/CellState.ts:112</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Caches the visible target terminal state.</p>
|
|
</div></div></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited"><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a id="height" class="tsd-anchor"></a><h3>height</h3><ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> height<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> height<span class="tsd-signature-symbol">(</span>height<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-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.height</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L53">view/geometry/Rectangle.ts:53</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.height</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L57">view/geometry/Rectangle.ts:57</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>height: <span class="tsd-signature-type">number</span></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-accessor tsd-parent-kind-class tsd-is-inherited"><a id="width" class="tsd-anchor"></a><h3>width</h3><ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> width<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> width<span class="tsd-signature-symbol">(</span>width<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-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.width</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L43">view/geometry/Rectangle.ts:43</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.width</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L47">view/geometry/Rectangle.ts:47</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>width: <span class="tsd-signature-type">number</span></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-accessor tsd-parent-kind-class tsd-is-inherited"><a id="x" class="tsd-anchor"></a><h3>x</h3><ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> x<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> x<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><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"><p>Inherited from Rectangle.x</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L32">view/geometry/Point.ts:32</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.x</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L36">view/geometry/Point.ts:36</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></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-accessor tsd-parent-kind-class tsd-is-inherited"><a id="y" class="tsd-anchor"></a><h3>y</h3><ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> y<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> y<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-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.y</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L42">view/geometry/Point.ts:42</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from Rectangle.y</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Point.ts#L46">view/geometry/Point.ts:46</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>y: <span class="tsd-signature-type">number</span></h5></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 "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="add" class="tsd-anchor"></a><h3>add</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#add">add</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L97">view/geometry/Rectangle.ts:97</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Adds the given rectangle to this rectangle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rect: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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 tsd-is-overwrite"><a id="clone" class="tsd-anchor"></a><h3>clone</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">clone<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#clone">clone</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L338">view/cell/CellState.ts:338</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a clone of this <a href="Point.html">Point</a>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroy" class="tsd-anchor"></a><h3>destroy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L377">view/cell/CellState.ts:377</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destructor: destroy</p>
|
|
</div><div><p>Destroys the state and all associated resources.</p>
|
|
</div></div><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 tsd-is-inherited"><a id="equals" class="tsd-anchor"></a><h3>equals</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#equals">equals</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L160">view/geometry/Rectangle.ts:160</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given object equals this rectangle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rect: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCellBounds" class="tsd-anchor"></a><h3>get<wbr/>Cell<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Cell<wbr/>Bounds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L277">view/cell/CellState.ts:277</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the unscaled, untranslated bounds.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCenterX" class="tsd-anchor"></a><h3>get<wbr/>CenterX</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>CenterX<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#getCenterX">getCenterX</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L83">view/geometry/Rectangle.ts:83</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the x-coordinate of the center point.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getCenterY" class="tsd-anchor"></a><h3>get<wbr/>CenterY</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>CenterY<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#getCenterY">getCenterY</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L90">view/geometry/Rectangle.ts:90</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the y-coordinate of the center point.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getImageSrc" class="tsd-anchor"></a><h3>get<wbr/>Image<wbr/>Src</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Image<wbr/>Src<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L432">view/cell/CellState.ts:432</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the image URL for the given cell state. This implementation
|
|
returns the value stored under {@link 'image'} in the cell
|
|
style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getIndicatorColor" class="tsd-anchor"></a><h3>get<wbr/>Indicator<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Indicator<wbr/>Color<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L444">view/cell/CellState.ts:444</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the indicator color for the given cell state. This
|
|
implementation returns the value stored under
|
|
{@link mxConstants.STYLE_INDICATOR_COLOR} in the cell style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getIndicatorGradientColor" class="tsd-anchor"></a><h3>get<wbr/>Indicator<wbr/>Gradient<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Indicator<wbr/>Gradient<wbr/>Color<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L456">view/cell/CellState.ts:456</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the indicator gradient color for the given cell state. This
|
|
implementation returns the value stored under
|
|
{@link mxConstants.STYLE_INDICATOR_GRADIENTCOLOR} in the cell style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getIndicatorImageSrc" class="tsd-anchor"></a><h3>get<wbr/>Indicator<wbr/>Image<wbr/>Src</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Indicator<wbr/>Image<wbr/>Src<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L478">view/cell/CellState.ts:478</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the indicator image for the given cell state. This
|
|
implementation returns the value stored under
|
|
{@link mxConstants.STYLE_INDICATOR_IMAGE} in the cell style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getIndicatorShape" class="tsd-anchor"></a><h3>get<wbr/>Indicator<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Indicator<wbr/>Shape<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L467">view/cell/CellState.ts:467</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the indicator shape for the given cell state. This
|
|
implementation returns the value stored under
|
|
{@link mxConstants.STYLE_INDICATOR_SHAPE} in the cell style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPaintBounds" class="tsd-anchor"></a><h3>get<wbr/>Paint<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Paint<wbr/>Bounds<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L286">view/cell/CellState.ts:286</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the unscaled, untranslated paint bounds. This is the same as
|
|
<getCellBounds> but with a 90 degree rotation if the shape's
|
|
isPaintBoundsInverted returns true.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPerimeterBounds" class="tsd-anchor"></a><h3>get<wbr/>Perimeter<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Perimeter<wbr/>Bounds<span class="tsd-signature-symbol">(</span>border<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, bounds<span class="tsd-signature-symbol">?: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L177">view/cell/CellState.ts:177</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the <a href="Rectangle.html">Rectangle</a> that should be used as the perimeter of the
|
|
cell.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>border: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional border to be added around the perimeter bounds.</p>
|
|
</div></div></li><li><h5>bounds: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = ...</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional <a href="Rectangle.html">Rectangle</a> to be used as the initial bounds.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getPoint" class="tsd-anchor"></a><h3>get<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Point<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#getPoint">getPoint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L140">view/geometry/Rectangle.ts:140</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the top, left corner as a new <a href="Point.html">Point</a>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getVerticalAlign" class="tsd-anchor"></a><h3>get<wbr/>Vertical<wbr/>Align</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Vertical<wbr/>Align<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">VAlignValue</span><span class="tsd-signature-symbol"> | </span><a href="../enums/constants.ALIGN.html#MIDDLE" class="tsd-signature-type" data-tsd-kind="Enumeration member">MIDDLE</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L405">view/cell/CellState.ts:405</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the vertical alignment for the given cell state. This
|
|
implementation returns the value stored under
|
|
{@link 'verticalAlign'} in the cell style.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">VAlignValue</span><span class="tsd-signature-symbol"> | </span><a href="../enums/constants.ALIGN.html#MIDDLE" class="tsd-signature-type" data-tsd-kind="Enumeration member">MIDDLE</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getVisibleTerminal" class="tsd-anchor"></a><h3>get<wbr/>Visible<wbr/>Terminal</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L245">view/cell/CellState.ts:245</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the visible source or target terminal cell.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>source: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the source or target cell should be
|
|
returned.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getVisibleTerminalState" class="tsd-anchor"></a><h3>get<wbr/>Visible<wbr/>Terminal<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal<wbr/>State<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L256">view/cell/CellState.ts:256</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the visible source or target terminal state.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>source: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the source or target state should be
|
|
returned.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="grow" class="tsd-anchor"></a><h3>grow</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">grow<span class="tsd-signature-symbol">(</span>amount<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-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#grow">grow</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L130">view/geometry/Rectangle.ts:130</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Grows the rectangle by the given amount, that is, this method subtracts
|
|
the given amount from the x- and y-coordinates and adds twice the amount
|
|
to the width and height.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>amount: <span class="tsd-signature-type">number</span></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 tsd-is-inherited"><a id="intersect" class="tsd-anchor"></a><h3>intersect</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">intersect<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#intersect">intersect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L112">view/geometry/Rectangle.ts:112</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Changes this rectangle to where it overlaps with the given rectangle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rect: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</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 id="isLoop" class="tsd-anchor"></a><h3>is<wbr/>Loop</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Loop<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L386">view/cell/CellState.ts:386</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given cell state is a loop.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><a href="CellState.html">CellState</a> that represents a potential loop.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isTransparentState" class="tsd-anchor"></a><h3>is<wbr/>Transparent<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Transparent<wbr/>State<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L414">view/cell/CellState.ts:414</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given state has no stroke- or fillcolor and no image.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="rotate90" class="tsd-anchor"></a><h3>rotate90</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">rotate90<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"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#rotate90">rotate90</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L147">view/geometry/Rectangle.ts:147</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Rotates this rectangle by 90 degree around its center point.</p>
|
|
</div></div><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 id="setAbsoluteTerminalPoint" class="tsd-anchor"></a><h3>set<wbr/>Absolute<wbr/>Terminal<wbr/>Point</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Absolute<wbr/>Terminal<wbr/>Point<span class="tsd-signature-symbol">(</span>point<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a>, isSource<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L210">view/cell/CellState.ts:210</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the first or last point in <absolutePoints> depending on isSource.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>point: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><a href="Point.html">Point</a> that represents the terminal point.</p>
|
|
</div></div></li><li><h5>isSource: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the first or last point should
|
|
be assigned.</p>
|
|
</div></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 id="setCursor" class="tsd-anchor"></a><h3>set<wbr/>Cursor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Cursor<span class="tsd-signature-symbol">(</span>cursor<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L230">view/cell/CellState.ts:230</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the given cursor on the shape and text shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cursor: <span class="tsd-signature-type">string</span></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 tsd-is-inherited"><a id="setRect" class="tsd-anchor"></a><h3>set<wbr/>Rect</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Rect<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, width<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, height<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-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#setRect">setRect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L73">view/geometry/Rectangle.ts:73</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets this rectangle to the specified values</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>x: <span class="tsd-signature-type">number</span></h5></li><li><h5>y: <span class="tsd-signature-type">number</span></h5></li><li><h5>width: <span class="tsd-signature-type">number</span></h5></li><li><h5>height: <span class="tsd-signature-type">number</span></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 id="setState" class="tsd-anchor"></a><h3>set<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>State<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L316">view/cell/CellState.ts:316</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destructor: setState</p>
|
|
</div><div><p>Copies all fields from the given state to this state.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>state: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</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 id="setVisibleTerminalState" class="tsd-anchor"></a><h3>set<wbr/>Visible<wbr/>Terminal<wbr/>State</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Visible<wbr/>Terminal<wbr/>State<span class="tsd-signature-symbol">(</span>terminalState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a>, source<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L266">view/cell/CellState.ts:266</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the visible source or target terminal state.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>terminalState: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><CellState> that represents the terminal.</p>
|
|
</div></div></li><li><h5>source: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the source or target state should be set.</p>
|
|
</div></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 id="updateCachedBounds" class="tsd-anchor"></a><h3>update<wbr/>Cached<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Cached<wbr/>Bounds<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"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/cell/CellState.ts#L293">view/cell/CellState.ts:293</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the cellBounds and paintBounds.</p>
|
|
</div></div><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 tsd-is-inherited tsd-is-static"><a id="fromRectangle" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> from<wbr/>Rectangle</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><li class="tsd-signature tsd-kind-icon">from<wbr/>Rectangle<span class="tsd-signature-symbol">(</span>rect<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="Rectangle.html">Rectangle</a>.<a href="Rectangle.html#fromRectangle">fromRectangle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Rectangle.ts#L66">view/geometry/Rectangle.ts:66</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a new <a href="Rectangle.html">Rectangle</a> which is a copy of the given rectangle.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>rect: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/DomHelpers.html">Dom<wbr/>Helpers</a></li><li class=" tsd-kind-namespace"><a href="../modules/cloneUtils.html">clone<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/constants.html">constants</a></li><li class=" tsd-kind-namespace"><a href="../modules/domUtils.html">dom<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/eventUtils.html">event<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/gestureUtils.html">gesture<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/mathUtils.html">math<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/stringUtils.html">string<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/styleUtils.html">style<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/xmlUtils.html">xml<wbr/>Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="CellState.html" class="tsd-kind-icon">Cell<wbr/>State</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="CellState.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_height" class="tsd-kind-icon">_height</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_width" class="tsd-kind-icon">_width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_x" class="tsd-kind-icon">_x</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#_y" class="tsd-kind-icon">_y</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#absoluteOffset" class="tsd-kind-icon">absolute<wbr/>Offset</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#absolutePoints" class="tsd-kind-icon">absolute<wbr/>Points</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#boundingBox" class="tsd-kind-icon">bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#cellBounds" class="tsd-kind-icon">cell<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#control" class="tsd-kind-icon">control</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#invalid" class="tsd-kind-icon">invalid</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#invalidStyle" class="tsd-kind-icon">invalid<wbr/>Style</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#length" class="tsd-kind-icon">length</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#node" class="tsd-kind-icon">node</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#origin" class="tsd-kind-icon">origin</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#overlays" class="tsd-kind-icon">overlays</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#paintBounds" class="tsd-kind-icon">paint<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#parentHighlight" class="tsd-kind-icon">parent<wbr/>Highlight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#point" class="tsd-kind-icon">point</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#segments" class="tsd-kind-icon">segments</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#shape" class="tsd-kind-icon">shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#terminalDistance" class="tsd-kind-icon">terminal<wbr/>Distance</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#text" class="tsd-kind-icon">text</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#unscaledHeight" class="tsd-kind-icon">unscaled<wbr/>Height</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#unscaledWidth" class="tsd-kind-icon">unscaled<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#view" class="tsd-kind-icon">view</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#visibleSourceState" class="tsd-kind-icon">visible<wbr/>Source<wbr/>State</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="CellState.html#visibleTargetState" class="tsd-kind-icon">visible<wbr/>Target<wbr/>State</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#height" class="tsd-kind-icon">height</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#width" class="tsd-kind-icon">width</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#x" class="tsd-kind-icon">x</a></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#y" class="tsd-kind-icon">y</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#add" class="tsd-kind-icon">add</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="CellState.html#clone" class="tsd-kind-icon">clone</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#equals" class="tsd-kind-icon">equals</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getCellBounds" class="tsd-kind-icon">get<wbr/>Cell<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getCenterX" class="tsd-kind-icon">get<wbr/>CenterX</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getCenterY" class="tsd-kind-icon">get<wbr/>CenterY</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getImageSrc" class="tsd-kind-icon">get<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorColor" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorGradientColor" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Gradient<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorImageSrc" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getIndicatorShape" class="tsd-kind-icon">get<wbr/>Indicator<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getPaintBounds" class="tsd-kind-icon">get<wbr/>Paint<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getPerimeterBounds" class="tsd-kind-icon">get<wbr/>Perimeter<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#getPoint" class="tsd-kind-icon">get<wbr/>Point</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVerticalAlign" class="tsd-kind-icon">get<wbr/>Vertical<wbr/>Align</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVisibleTerminal" class="tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#getVisibleTerminalState" class="tsd-kind-icon">get<wbr/>Visible<wbr/>Terminal<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#grow" class="tsd-kind-icon">grow</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#intersect" class="tsd-kind-icon">intersect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#isLoop" class="tsd-kind-icon">is<wbr/>Loop</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#isTransparentState" class="tsd-kind-icon">is<wbr/>Transparent<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#rotate90" class="tsd-kind-icon">rotate90</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setAbsoluteTerminalPoint" class="tsd-kind-icon">set<wbr/>Absolute<wbr/>Terminal<wbr/>Point</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setCursor" class="tsd-kind-icon">set<wbr/>Cursor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="CellState.html#setRect" class="tsd-kind-icon">set<wbr/>Rect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setState" class="tsd-kind-icon">set<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#setVisibleTerminalState" class="tsd-kind-icon">set<wbr/>Visible<wbr/>Terminal<wbr/>State</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="CellState.html#updateCachedBounds" class="tsd-kind-icon">update<wbr/>Cached<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="CellState.html#fromRectangle" class="tsd-kind-icon">from<wbr/>Rectangle</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html> |