195 lines
158 KiB
HTML
195 lines
158 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ConnectorShape | @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="ConnectorShape.html">ConnectorShape</a></li></ul><h1>Class ConnectorShape</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>Extends {@link mxShape} to implement a connector shape.
|
|
The connector shape allows for arrow heads on either side.
|
|
This shape is registered under {@link mxConstants.SHAPE_CONNECTOR} in {@link mxCellRenderer}.</p>
|
|
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><a href="PolylineShape.html" class="tsd-signature-type" data-tsd-kind="Class">PolylineShape</a><ul class="tsd-hierarchy"><li><span class="target">ConnectorShape</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="ConnectorShape.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section tsd-is-inherited"><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#antiAlias" class="tsd-kind-icon">anti<wbr/>Alias</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#boundingBox" class="tsd-kind-icon">bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#bounds" class="tsd-kind-icon">bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#cursor" class="tsd-kind-icon">cursor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#dialect" class="tsd-kind-icon">dialect</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#direction" class="tsd-kind-icon">direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#endArrow" class="tsd-kind-icon">end<wbr/>Arrow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#endSize" class="tsd-kind-icon">end<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#fill" class="tsd-kind-icon">fill</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#fillOpacity" class="tsd-kind-icon">fill<wbr/>Opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#flipH" class="tsd-kind-icon">flipH</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#flipV" class="tsd-kind-icon">flipV</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#glass" class="tsd-kind-icon">glass</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#gradient" class="tsd-kind-icon">gradient</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#gradientDirection" class="tsd-kind-icon">gradient<wbr/>Direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#image" class="tsd-kind-icon">image</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#imageSrc" class="tsd-kind-icon">image<wbr/>Src</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicator" class="tsd-kind-icon">indicator</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorColor" class="tsd-kind-icon">indicator<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorDirection" class="tsd-kind-icon">indicator<wbr/>Direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorGradientColor" class="tsd-kind-icon">indicator<wbr/>Gradient<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorImageSrc" class="tsd-kind-icon">indicator<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorShape" class="tsd-kind-icon">indicator<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorStrokeColor" class="tsd-kind-icon">indicator<wbr/>Stroke<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isDashed" class="tsd-kind-icon">is<wbr/>Dashed</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isRounded" class="tsd-kind-icon">is<wbr/>Rounded</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isShadow" class="tsd-kind-icon">is<wbr/>Shadow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#minSvgStrokeWidth" class="tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#node" class="tsd-kind-icon">node</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#oldGradients" class="tsd-kind-icon">old<wbr/>Gradients</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#opacity" class="tsd-kind-icon">opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#originalPointerEvents" class="tsd-kind-icon">original<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#outline" class="tsd-kind-icon">outline</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#overlay" class="tsd-kind-icon">overlay</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#pointerEvents" class="tsd-kind-icon">pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#points" class="tsd-kind-icon">points</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#preserveImageAspect" class="tsd-kind-icon">preserve<wbr/>Image<wbr/>Aspect</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#rotation" class="tsd-kind-icon">rotation</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#scale" class="tsd-kind-icon">scale</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#shapePointerEvents" class="tsd-kind-icon">shape<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#spacing" class="tsd-kind-icon">spacing</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#startArrow" class="tsd-kind-icon">start<wbr/>Arrow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#startSize" class="tsd-kind-icon">start<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stencil" class="tsd-kind-icon">stencil</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stencilPointerEvents" class="tsd-kind-icon">stencil<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stroke" class="tsd-kind-icon">stroke</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#strokeOpacity" class="tsd-kind-icon">stroke<wbr/>Opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#strokeWidth" class="tsd-kind-icon">stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#svgPointerEvents" class="tsd-kind-icon">svg<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#svgStrokeTolerance" class="tsd-kind-icon">svg<wbr/>Stroke<wbr/>Tolerance</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#useSvgBoundingBox" class="tsd-kind-icon">use<wbr/>Svg<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#verticalTextRotation" class="tsd-kind-icon">vertical<wbr/>Text<wbr/>Rotation</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#visible" class="tsd-kind-icon">visible</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="ConnectorShape.html#addPoints" class="tsd-kind-icon">add<wbr/>Points</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#afterPaint" class="tsd-kind-icon">after<wbr/>Paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#apply" class="tsd-kind-icon">apply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#augmentBoundingBox" class="tsd-kind-icon">augment<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#beforePaint" class="tsd-kind-icon">before<wbr/>Paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#checkBounds" class="tsd-kind-icon">check<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#clear" class="tsd-kind-icon">clear</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#configureCanvas" class="tsd-kind-icon">configure<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#create" class="tsd-kind-icon">create</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createBoundingBox" class="tsd-kind-icon">create<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createCanvas" class="tsd-kind-icon">create<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ConnectorShape.html#createMarker" class="tsd-kind-icon">create<wbr/>Marker</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createSvgCanvas" class="tsd-kind-icon">create<wbr/>Svg<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createTransparentSvgRectangle" class="tsd-kind-icon">create<wbr/>Transparent<wbr/>Svg<wbr/>Rectangle</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#destroyCanvas" class="tsd-kind-icon">destroy<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getArcSize" class="tsd-kind-icon">get<wbr/>Arc<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getCursor" class="tsd-kind-icon">get<wbr/>Cursor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getGradientBounds" class="tsd-kind-icon">get<wbr/>Gradient<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getLabelBounds" class="tsd-kind-icon">get<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getLabelMargins" class="tsd-kind-icon">get<wbr/>Label<wbr/>Margins</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getRotation" class="tsd-kind-icon">get<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getShapeRotation" class="tsd-kind-icon">get<wbr/>Shape<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getSvgScreenOffset" class="tsd-kind-icon">get<wbr/>Svg<wbr/>Screen<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getTextRotation" class="tsd-kind-icon">get<wbr/>Text<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#init" class="tsd-kind-icon">init</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#initStyles" class="tsd-kind-icon">init<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isHtmlAllowed" class="tsd-kind-icon">is<wbr/>Html<wbr/>Allowed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isPaintBoundsInverted" class="tsd-kind-icon">is<wbr/>Paint<wbr/>Bounds<wbr/>Inverted</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isRoundable" class="tsd-kind-icon">is<wbr/>Roundable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paint" class="tsd-kind-icon">paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintBackground" class="tsd-kind-icon">paint<wbr/>Background</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintCurvedLine" class="tsd-kind-icon">paint<wbr/>Curved<wbr/>Line</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#paintEdgeShape" class="tsd-kind-icon">paint<wbr/>Edge<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintForeground" class="tsd-kind-icon">paint<wbr/>Foreground</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintGlassEffect" class="tsd-kind-icon">paint<wbr/>Glass<wbr/>Effect</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintLine" class="tsd-kind-icon">paint<wbr/>Line</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintVertexShape" class="tsd-kind-icon">paint<wbr/>Vertex<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#reconfigure" class="tsd-kind-icon">reconfigure</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redraw" class="tsd-kind-icon">redraw</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redrawHtmlShape" class="tsd-kind-icon">redraw<wbr/>Html<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redrawShape" class="tsd-kind-icon">redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#releaseSvgGradients" class="tsd-kind-icon">release<wbr/>Svg<wbr/>Gradients</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#resetStyles" class="tsd-kind-icon">reset<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.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="ConnectorShape.html#setTransparentBackgroundImage" class="tsd-kind-icon">set<wbr/>Transparent<wbr/>Background<wbr/>Image</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#updateBoundingBox" class="tsd-kind-icon">update<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#updateBoundsFromPoints" class="tsd-kind-icon">update<wbr/>Bounds<wbr/>From<wbr/>Points</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#updateTransform" class="tsd-kind-icon">update<wbr/>Transform</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/>Connector<wbr/>Shape<span class="tsd-signature-symbol">(</span>points<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>, stroke<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, strokewidth<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><a href="ConnectorShape.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectorShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#constructor">constructor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/ConnectorShape.ts#L24">view/geometry/edge/ConnectorShape.ts:24</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>points: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5>stroke: <span class="tsd-signature-type">string</span></h5></li><li><h5>strokewidth: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="ConnectorShape.html" class="tsd-signature-type" data-tsd-kind="Class">ConnectorShape</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group tsd-is-inherited"><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="antiAlias" class="tsd-anchor"></a><h3>anti<wbr/>Alias</h3><div class="tsd-signature tsd-kind-icon">anti<wbr/>Alias<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#antiAlias">antiAlias</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L149">view/geometry/Shape.ts:149</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Rendering hint for configuring the canvas.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#boundingBox">boundingBox</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L185">view/geometry/Shape.ts:185</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Contains the bounding box of the shape, that is, the smallest rectangle
|
|
that includes all pixels of the shape.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="bounds" class="tsd-anchor"></a><h3>bounds</h3><div class="tsd-signature tsd-kind-icon">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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#bounds">bounds</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L159">view/geometry/Shape.ts:159</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the <a href="Rectangle.html">Rectangle</a> that specifies the bounds of this shape.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="cursor" class="tsd-anchor"></a><h3>cursor</h3><div class="tsd-signature tsd-kind-icon">cursor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ''</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#cursor">cursor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L127">view/geometry/Shape.ts:127</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="dialect" class="tsd-anchor"></a><h3>dialect</h3><div class="tsd-signature tsd-kind-icon">dialect<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><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#dialect">dialect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L139">view/geometry/Shape.ts:139</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the dialect in which the shape is to be painted.
|
|
This can be one of the DIALECT constants in {@link Constants}.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="direction" class="tsd-anchor"></a><h3>direction</h3><div class="tsd-signature tsd-kind-icon">direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DirectionValue</span><span class="tsd-signature-symbol"> = DIRECTION.EAST</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#direction">direction</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L115">view/geometry/Shape.ts:115</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="endArrow" class="tsd-anchor"></a><h3>end<wbr/>Arrow</h3><div class="tsd-signature tsd-kind-icon">end<wbr/>Arrow<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArrowType</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#endArrow">endArrow</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L113">view/geometry/Shape.ts:113</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="endSize" class="tsd-anchor"></a><h3>end<wbr/>Size</h3><div class="tsd-signature tsd-kind-icon">end<wbr/>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#endSize">endSize</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L109">view/geometry/Shape.ts:109</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="fill" class="tsd-anchor"></a><h3>fill</h3><div class="tsd-signature tsd-kind-icon">fill<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#fill">fill</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L91">view/geometry/Shape.ts:91</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="fillOpacity" class="tsd-anchor"></a><h3>fill<wbr/>Opacity</h3><div class="tsd-signature tsd-kind-icon">fill<wbr/>Opacity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 100</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#fillOpacity">fillOpacity</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L97">view/geometry/Shape.ts:97</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="flipH" class="tsd-anchor"></a><h3>flipH</h3><div class="tsd-signature tsd-kind-icon">flipH<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#flipH">flipH</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L117">view/geometry/Shape.ts:117</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="flipV" class="tsd-anchor"></a><h3>flipV</h3><div class="tsd-signature tsd-kind-icon">flipV<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#flipV">flipV</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L119">view/geometry/Shape.ts:119</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="glass" class="tsd-anchor"></a><h3>glass</h3><div class="tsd-signature tsd-kind-icon">glass<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#glass">glass</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L133">view/geometry/Shape.ts:133</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="gradient" class="tsd-anchor"></a><h3>gradient</h3><div class="tsd-signature tsd-kind-icon">gradient<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#gradient">gradient</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L93">view/geometry/Shape.ts:93</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="gradientDirection" class="tsd-anchor"></a><h3>gradient<wbr/>Direction</h3><div class="tsd-signature tsd-kind-icon">gradient<wbr/>Direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DirectionValue</span><span class="tsd-signature-symbol"> = DIRECTION.EAST</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#gradientDirection">gradientDirection</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L95">view/geometry/Shape.ts:95</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="image" class="tsd-anchor"></a><h3>image</h3><div class="tsd-signature tsd-kind-icon">image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="ImageBox.html" class="tsd-signature-type" data-tsd-kind="Class">ImageBox</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#image">image</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L241">view/geometry/Shape.ts:241</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="imageSrc" class="tsd-anchor"></a><h3>image<wbr/>Src</h3><div class="tsd-signature tsd-kind-icon">image<wbr/>Src<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><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#imageSrc">imageSrc</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L243">view/geometry/Shape.ts:243</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicator" class="tsd-anchor"></a><h3>indicator</h3><div class="tsd-signature tsd-kind-icon">indicator<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicator">indicator</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L84">view/geometry/Shape.ts:84</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorColor" class="tsd-anchor"></a><h3>indicator<wbr/>Color</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorColor">indicatorColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L245">view/geometry/Shape.ts:245</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorDirection" class="tsd-anchor"></a><h3>indicator<wbr/>Direction</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Direction<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DirectionValue</span><span class="tsd-signature-symbol"> = DIRECTION.EAST</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorDirection">indicatorDirection</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L251">view/geometry/Shape.ts:251</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorGradientColor" class="tsd-anchor"></a><h3>indicator<wbr/>Gradient<wbr/>Color</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Gradient<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorGradientColor">indicatorGradientColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L249">view/geometry/Shape.ts:249</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorImageSrc" class="tsd-anchor"></a><h3>indicator<wbr/>Image<wbr/>Src</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Image<wbr/>Src<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><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorImageSrc">indicatorImageSrc</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L253">view/geometry/Shape.ts:253</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorShape" class="tsd-anchor"></a><h3>indicator<wbr/>Shape</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">typeof </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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorShape">indicatorShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L85">view/geometry/Shape.ts:85</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="indicatorStrokeColor" class="tsd-anchor"></a><h3>indicator<wbr/>Stroke<wbr/>Color</h3><div class="tsd-signature tsd-kind-icon">indicator<wbr/>Stroke<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#indicatorStrokeColor">indicatorStrokeColor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L247">view/geometry/Shape.ts:247</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isDashed" class="tsd-anchor"></a><h3>is<wbr/>Dashed</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Dashed<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isDashed">isDashed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L89">view/geometry/Shape.ts:89</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isRounded" class="tsd-anchor"></a><h3>is<wbr/>Rounded</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Rounded<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isRounded">isRounded</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L123">view/geometry/Shape.ts:123</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="isShadow" class="tsd-anchor"></a><h3>is<wbr/>Shadow</h3><div class="tsd-signature tsd-kind-icon">is<wbr/>Shadow<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isShadow">isShadow</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L121">view/geometry/Shape.ts:121</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="minSvgStrokeWidth" class="tsd-anchor"></a><h3>min<wbr/>Svg<wbr/>Stroke<wbr/>Width</h3><div class="tsd-signature tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#minSvgStrokeWidth">minSvgStrokeWidth</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L154">view/geometry/Shape.ts:154</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Minimum stroke width for SVG output.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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">SVGGElement</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#node">node</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L169">view/geometry/Shape.ts:169</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the outermost DOM node that represents this shape.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="oldGradients" class="tsd-anchor"></a><h3>old<wbr/>Gradients</h3><div class="tsd-signature tsd-kind-icon">old<wbr/>Gradients<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GradientMap</span><span class="tsd-signature-symbol"> = {}</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#oldGradients">oldGradients</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L131">view/geometry/Shape.ts:131</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="opacity" class="tsd-anchor"></a><h3>opacity</h3><div class="tsd-signature tsd-kind-icon">opacity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 100</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#opacity">opacity</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L88">view/geometry/Shape.ts:88</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="originalPointerEvents" class="tsd-anchor"></a><h3>original<wbr/>Pointer<wbr/>Events</h3><div class="tsd-signature tsd-kind-icon">original<wbr/>Pointer<wbr/>Events<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><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#originalPointerEvents">originalPointerEvents</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L203">view/geometry/Shape.ts:203</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="outline" class="tsd-anchor"></a><h3>outline</h3><div class="tsd-signature tsd-kind-icon">outline<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#outline">outline</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L228">view/geometry/Shape.ts:228</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the shape should be drawn as an outline. This disables all
|
|
fill colors and can be used to disable other drawing states that should
|
|
not be painted for outlines. Default is false. This should be set before
|
|
calling <apply>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="overlay" class="tsd-anchor"></a><h3>overlay</h3><div class="tsd-signature tsd-kind-icon">overlay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><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"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#overlay">overlay</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L83">view/geometry/Shape.ts:83</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="pointerEvents" class="tsd-anchor"></a><h3>pointer<wbr/>Events</h3><div class="tsd-signature tsd-kind-icon">pointer<wbr/>Events<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#pointerEvents">pointerEvents</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L201">view/geometry/Shape.ts:201</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if pointer events should be handled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="points" class="tsd-anchor"></a><h3>points</h3><div class="tsd-signature tsd-kind-icon">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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#points">points</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L164">view/geometry/Shape.ts:164</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the array of <Point> that specify the points of this shape.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="preserveImageAspect" class="tsd-anchor"></a><h3>preserve<wbr/>Image<wbr/>Aspect</h3><div class="tsd-signature tsd-kind-icon">preserve<wbr/>Image<wbr/>Aspect<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#preserveImageAspect">preserveImageAspect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L82">view/geometry/Shape.ts:82</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="rotation" class="tsd-anchor"></a><h3>rotation</h3><div class="tsd-signature tsd-kind-icon">rotation<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#rotation">rotation</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L125">view/geometry/Shape.ts:125</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="scale" class="tsd-anchor"></a><h3>scale</h3><div class="tsd-signature tsd-kind-icon">scale<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#scale">scale</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L144">view/geometry/Shape.ts:144</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the scale in which the shape is being painted.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="shapePointerEvents" class="tsd-anchor"></a><h3>shape<wbr/>Pointer<wbr/>Events</h3><div class="tsd-signature tsd-kind-icon">shape<wbr/>Pointer<wbr/>Events<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#shapePointerEvents">shapePointerEvents</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L214">view/geometry/Shape.ts:214</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if pointer events outside of shape should be handled. Default
|
|
is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="spacing" class="tsd-anchor"></a><h3>spacing</h3><div class="tsd-signature tsd-kind-icon">spacing<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#spacing">spacing</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L105">view/geometry/Shape.ts:105</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="startArrow" class="tsd-anchor"></a><h3>start<wbr/>Arrow</h3><div class="tsd-signature tsd-kind-icon">start<wbr/>Arrow<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArrowType</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#startArrow">startArrow</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L111">view/geometry/Shape.ts:111</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="startSize" class="tsd-anchor"></a><h3>start<wbr/>Size</h3><div class="tsd-signature tsd-kind-icon">start<wbr/>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#startSize">startSize</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L107">view/geometry/Shape.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="state" class="tsd-anchor"></a><h3>state</h3><div class="tsd-signature tsd-kind-icon">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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#state">state</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L174">view/geometry/Shape.ts:174</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional reference to the corresponding <CellState>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="stencil" class="tsd-anchor"></a><h3>stencil</h3><div class="tsd-signature tsd-kind-icon">stencil<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="StencilShape.html" class="tsd-signature-type" data-tsd-kind="Class">StencilShape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#stencil">stencil</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L190">view/geometry/Shape.ts:190</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the {@link Stencil} that defines the shape.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="stencilPointerEvents" class="tsd-anchor"></a><h3>stencil<wbr/>Pointer<wbr/>Events</h3><div class="tsd-signature tsd-kind-icon">stencil<wbr/>Pointer<wbr/>Events<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#stencilPointerEvents">stencilPointerEvents</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L220">view/geometry/Shape.ts:220</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if pointer events outside of stencils should be handled. Default
|
|
is false. Set this to true for backwards compatibility with the 1.x branch.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="stroke" class="tsd-anchor"></a><h3>stroke</h3><div class="tsd-signature tsd-kind-icon">stroke<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = NONE</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#stroke">stroke</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L101">view/geometry/Shape.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="strokeOpacity" class="tsd-anchor"></a><h3>stroke<wbr/>Opacity</h3><div class="tsd-signature tsd-kind-icon">stroke<wbr/>Opacity<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 100</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#strokeOpacity">strokeOpacity</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L99">view/geometry/Shape.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="strokeWidth" class="tsd-anchor"></a><h3>stroke<wbr/>Width</h3><div class="tsd-signature tsd-kind-icon">stroke<wbr/>Width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#strokeWidth">strokeWidth</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L103">view/geometry/Shape.ts:103</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><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">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">CellStateStyles</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#style">style</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L179">view/geometry/Shape.ts:179</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Optional reference to the style of the corresponding <CellState>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="svgPointerEvents" class="tsd-anchor"></a><h3>svg<wbr/>Pointer<wbr/>Events</h3><div class="tsd-signature tsd-kind-icon">svg<wbr/>Pointer<wbr/>Events<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'all'</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#svgPointerEvents">svgPointerEvents</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L208">view/geometry/Shape.ts:208</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if pointer events should be handled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="svgStrokeTolerance" class="tsd-anchor"></a><h3>svg<wbr/>Stroke<wbr/>Tolerance</h3><div class="tsd-signature tsd-kind-icon">svg<wbr/>Stroke<wbr/>Tolerance<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 8</span></div><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#svgStrokeTolerance">svgStrokeTolerance</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L196">view/geometry/Shape.ts:196</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Event-tolerance for SVG strokes (in px). Default is 8. This is only passed
|
|
to the canvas in <createSvgCanvas> if <pointerEvents> is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="useSvgBoundingBox" class="tsd-anchor"></a><h3>use<wbr/>Svg<wbr/>Bounding<wbr/>Box</h3><div class="tsd-signature tsd-kind-icon">use<wbr/>Svg<wbr/>Bounding<wbr/>Box<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#useSvgBoundingBox">useSvgBoundingBox</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L239">view/geometry/Shape.ts:239</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Allows to use the SVG bounding box in SVG. Default is false for performance
|
|
reasons.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="verticalTextRotation" class="tsd-anchor"></a><h3>vertical<wbr/>Text<wbr/>Rotation</h3><div class="tsd-signature tsd-kind-icon">vertical<wbr/>Text<wbr/>Rotation<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#verticalTextRotation">verticalTextRotation</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L129">view/geometry/Shape.ts:129</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a id="visible" class="tsd-anchor"></a><h3>visible</h3><div class="tsd-signature tsd-kind-icon">visible<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#visible">visible</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L233">view/geometry/Shape.ts:233</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the shape is visible. Default is true.</p>
|
|
</div></div></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="addPoints" class="tsd-anchor"></a><h3>add<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">add<wbr/>Points<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, pts<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>, rounded<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, arcSize<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, close<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, exclude<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, initialMove<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#addPoints">addPoints</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L796">view/geometry/Shape.ts:796</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the given points with rounded corners.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><li><h5>pts: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5>rounded: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li><li><h5>arcSize: <span class="tsd-signature-type">number</span></h5></li><li><h5>close: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li><li><h5>exclude: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></h5></li><li><h5>initialMove: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</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="afterPaint" class="tsd-anchor"></a><h3>after<wbr/>Paint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">after<wbr/>Paint<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#afterPaint">afterPaint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L553">view/geometry/Shape.ts:553</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Invokes after paint was called.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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-inherited"><a id="apply" class="tsd-anchor"></a><h3>apply</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">apply<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#apply">apply</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L941">view/geometry/Shape.ts:941</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Applies the style of the given <CellState> to the shape. This
|
|
implementation assigns the following styles to local fields:</p>
|
|
</div><div><ul>
|
|
<li><'fillColor'> => fill</li>
|
|
<li><'gradientColor'> => gradient</li>
|
|
<li><'gradientDirection'> => gradientDirection</li>
|
|
<li><'opacity'> => opacity</li>
|
|
<li>{@link Constants#STYLE_FILL_OPACITY} => fillOpacity</li>
|
|
<li>{@link Constants#STYLE_STROKE_OPACITY} => strokeOpacity</li>
|
|
<li><'strokeColor'> => stroke</li>
|
|
<li><'strokeWidth'> => strokewidth</li>
|
|
<li><'shadow'> => isShadow</li>
|
|
<li><'dashed'> => isDashed</li>
|
|
<li><'spacing'> => spacing</li>
|
|
<li><'startSize'> => startSize</li>
|
|
<li><'endSize'> => endSize</li>
|
|
<li><'rounded'> => isRounded</li>
|
|
<li><'startArrow'> => startArrow</li>
|
|
<li><'endArrow'> => endArrow</li>
|
|
<li><'rotation'> => rotation</li>
|
|
<li><'direction'> => direction</li>
|
|
<li><'glass'> => glass</li>
|
|
</ul>
|
|
<p>This keeps a reference to the <style>. If you need to keep a reference to
|
|
the cell, you can override this method and store a local reference to
|
|
state.cell or the <CellState> itself. If <outline> should be true, make
|
|
sure to set it before calling this method.</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><CellState> of the corresponding cell.</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 tsd-is-overwrite"><a id="augmentBoundingBox" class="tsd-anchor"></a><h3>augment<wbr/>Bounding<wbr/>Box</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">augment<wbr/>Bounding<wbr/>Box<span class="tsd-signature-symbol">(</span>bbox<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>Overrides <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#augmentBoundingBox">augmentBoundingBox</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/ConnectorShape.ts#L125">view/geometry/edge/ConnectorShape.ts:125</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Augments the bounding box with the strokewidth and shadow offsets.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bbox: <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-inherited"><a id="beforePaint" class="tsd-anchor"></a><h3>before<wbr/>Paint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">before<wbr/>Paint<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#beforePaint">beforePaint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L548">view/geometry/Shape.ts:548</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Invoked before paint is called.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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-inherited"><a id="checkBounds" class="tsd-anchor"></a><h3>check<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">check<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><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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#checkBounds">checkBounds</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L431">view/geometry/Shape.ts:431</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the bounds are not null and all of its variables are numeric.</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">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="clear" class="tsd-anchor"></a><h3>clear</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">clear<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#clear">clear</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L351">view/geometry/Shape.ts:351</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Removes all child nodes and resets all CSS.</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="configureCanvas" class="tsd-anchor"></a><h3>configure<wbr/>Canvas</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">configure<wbr/>Canvas<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#configureCanvas">configureCanvas</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L654">view/geometry/Shape.ts:654</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the state of the canvas for drawing the shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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="create" class="tsd-anchor"></a><h3>create</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SVGGElement</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#create">create</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L319">view/geometry/Shape.ts:319</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates and returns the DOM node(s) for the shape in
|
|
the given container. This implementation invokes
|
|
<createSvg>, <createHtml> or <createVml> depending
|
|
on the <dialect> and style settings.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SVGGElement</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createBoundingBox" class="tsd-anchor"></a><h3>create<wbr/>Bounding<wbr/>Box</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Bounding<wbr/>Box<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#createBoundingBox">createBoundingBox</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1045">view/geometry/Shape.ts:1045</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns a new rectangle that represents the bounding box of the bare shape
|
|
with no shadows or strokewidths.</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="createCanvas" class="tsd-anchor"></a><h3>create<wbr/>Canvas</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Canvas<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="SvgCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">SvgCanvas2D</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#createCanvas">createCanvas</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L472">view/geometry/Shape.ts:472</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates a new canvas for drawing this shape. May return null.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SvgCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">SvgCanvas2D</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createMarker" class="tsd-anchor"></a><h3>create<wbr/>Marker</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Marker<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, pts<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>, 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">any</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/geometry/edge/ConnectorShape.ts#L66">view/geometry/edge/ConnectorShape.ts:66</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Prepares the marker by adding offsets in pts and returning a function to paint the marker.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><li><h5>pts: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5>source: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createSvgCanvas" class="tsd-anchor"></a><h3>create<wbr/>Svg<wbr/>Canvas</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Svg<wbr/>Canvas<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="SvgCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">SvgCanvas2D</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#createSvgCanvas">createSvgCanvas</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L497">view/geometry/Shape.ts:497</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates and returns an <mxSvgCanvas2D> for rendering this shape.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="SvgCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">SvgCanvas2D</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="createTransparentSvgRectangle" class="tsd-anchor"></a><h3>create<wbr/>Transparent<wbr/>Svg<wbr/>Rectangle</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">create<wbr/>Transparent<wbr/>Svg<wbr/>Rectangle<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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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">SVGRectElement</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#createTransparentSvgRectangle">createTransparentSvgRectangle</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1124">view/geometry/Shape.ts:1124</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Adds a transparent rectangle that catches all events.</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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SVGRectElement</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="destroy" class="tsd-anchor"></a><h3>destroy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#destroy">destroy</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1168">view/geometry/Shape.ts:1168</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destroys the shape by removing it from the DOM and releasing the DOM
|
|
node associated with the shape using {@link Event#release}.</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="destroyCanvas" class="tsd-anchor"></a><h3>destroy<wbr/>Canvas</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">destroy<wbr/>Canvas<span class="tsd-signature-symbol">(</span>canvas<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#destroyCanvas">destroyCanvas</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L528">view/geometry/Shape.ts:528</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destroys the given canvas which was used for drawing. This implementation
|
|
increments the reference counts on all shared gradients used in the canvas.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>canvas: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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-inherited"><a id="getArcSize" class="tsd-anchor"></a><h3>get<wbr/>Arc<wbr/>Size</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Arc<wbr/>Size<span class="tsd-signature-symbol">(</span>w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getArcSize">getArcSize</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L745">view/geometry/Shape.ts:745</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the arc size for the given dimension.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <span class="tsd-signature-type">number</span></h5></li></ul><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="getCursor" class="tsd-anchor"></a><h3>get<wbr/>Cursor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Cursor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getCursor">getCursor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L990">view/geometry/Shape.ts:990</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the current cursor.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getGradientBounds" class="tsd-anchor"></a><h3>get<wbr/>Gradient<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Gradient<wbr/>Bounds<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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><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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getGradientBounds">getGradientBounds</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L700">view/geometry/Shape.ts:700</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the bounding box for the gradient box for this shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <span class="tsd-signature-type">number</span></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 class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getLabelBounds" class="tsd-anchor"></a><h3>get<wbr/>Label<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Label<wbr/>Bounds<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getLabelBounds">getLabelBounds</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L379">view/geometry/Shape.ts:379</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the <a href="Rectangle.html">Rectangle</a> for the label bounds of this shape, based on the
|
|
given scaled and translated bounds of the shape. This method should not
|
|
change the rectangle in-place. This implementation returns the given rect.</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 class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a id="getLabelMargins" class="tsd-anchor"></a><h3>get<wbr/>Label<wbr/>Margins</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Label<wbr/>Margins<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">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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getLabelMargins">getLabelMargins</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L424">view/geometry/Shape.ts:424</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the scaled top, left, bottom and right margin to be used for
|
|
computing the label bounds as an <a href="Rectangle.html">Rectangle</a>, where the bottom and right
|
|
margin are defined in the width and height of the rectangle, respectively.</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">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="getRotation" class="tsd-anchor"></a><h3>get<wbr/>Rotation</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Rotation<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getRotation">getRotation</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/PolylineShape.ts#L40">view/geometry/edge/PolylineShape.ts:40</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns 0.</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="getShapeRotation" class="tsd-anchor"></a><h3>get<wbr/>Shape<wbr/>Rotation</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Shape<wbr/>Rotation<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getShapeRotation">getShapeRotation</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/PolylineShape.ts#L47">view/geometry/edge/PolylineShape.ts:47</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns 0.</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="getSvgScreenOffset" class="tsd-anchor"></a><h3>get<wbr/>Svg<wbr/>Screen<wbr/>Offset</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Svg<wbr/>Screen<wbr/>Offset<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getSvgScreenOffset">getSvgScreenOffset</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L302">view/geometry/Shape.ts:302</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns 0, or 0.5 if <strokewidth> % 2 == 1.</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="getTextRotation" class="tsd-anchor"></a><h3>get<wbr/>Text<wbr/>Rotation</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">get<wbr/>Text<wbr/>Rotation<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#getTextRotation">getTextRotation</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1094">view/geometry/Shape.ts:1094</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the rotation for the text label.</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="init" class="tsd-anchor"></a><h3>init</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">init<span class="tsd-signature-symbol">(</span>container<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#init">init</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L272">view/geometry/Shape.ts:272</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Initializes the shape by creaing the DOM node using <create>
|
|
and adding it into the given container.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>container: <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">SVGElement</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>DOM node that will contain the shape.</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 tsd-is-inherited"><a id="initStyles" class="tsd-anchor"></a><h3>init<wbr/>Styles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">init<wbr/>Styles<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#initStyles">initStyles</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L281">view/geometry/Shape.ts:281</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the styles to their default values.</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="isHtmlAllowed" class="tsd-anchor"></a><h3>is<wbr/>Html<wbr/>Allowed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Html<wbr/>Allowed<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isHtmlAllowed">isHtmlAllowed</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L295">view/geometry/Shape.ts:295</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if HTML is allowed for this shape. This implementation always
|
|
returns false.</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="isPaintBoundsInverted" class="tsd-anchor"></a><h3>is<wbr/>Paint<wbr/>Bounds<wbr/>Inverted</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Paint<wbr/>Bounds<wbr/>Inverted<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isPaintBoundsInverted">isPaintBoundsInverted</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/PolylineShape.ts#L54">view/geometry/edge/PolylineShape.ts:54</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns false.</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="isRoundable" class="tsd-anchor"></a><h3>is<wbr/>Roundable</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">is<wbr/>Roundable<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#isRoundable">isRoundable</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L997">view/geometry/Shape.ts:997</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook for subclassers.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <span class="tsd-signature-type">number</span></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 tsd-is-inherited"><a id="paint" class="tsd-anchor"></a><h3>paint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paint">paint</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L558">view/geometry/Shape.ts:558</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Generic rendering code.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</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-inherited"><a id="paintBackground" class="tsd-anchor"></a><h3>paint<wbr/>Background</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Background<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintBackground">paintBackground</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L730">view/geometry/Shape.ts:730</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook for subclassers. This implementation is empty.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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="paintCurvedLine" class="tsd-anchor"></a><h3>paint<wbr/>Curved<wbr/>Line</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Curved<wbr/>Line<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, pts<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><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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintCurvedLine">paintCurvedLine</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/PolylineShape.ts#L87">view/geometry/edge/PolylineShape.ts:87</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the line shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><li><h5>pts: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</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-overwrite"><a id="paintEdgeShape" class="tsd-anchor"></a><h3>paint<wbr/>Edge<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Edge<wbr/>Shape<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, pts<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><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Overrides <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintEdgeShape">paintEdgeShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/ConnectorShape.ts#L40">view/geometry/edge/ConnectorShape.ts:40</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the line shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><li><h5>pts: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</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="paintForeground" class="tsd-anchor"></a><h3>paint<wbr/>Foreground</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Foreground<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintForeground">paintForeground</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L735">view/geometry/Shape.ts:735</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook for subclassers. This implementation is empty.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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="paintGlassEffect" class="tsd-anchor"></a><h3>paint<wbr/>Glass<wbr/>Effect</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Glass<wbr/>Effect<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, arc<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintGlassEffect">paintGlassEffect</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L760">view/geometry/Shape.ts:760</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the glass gradient effect.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <span class="tsd-signature-type">number</span></h5></li><li><h5>arc: <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="paintLine" class="tsd-anchor"></a><h3>paint<wbr/>Line</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Line<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, pts<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>, rounded<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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintLine">paintLine</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/PolylineShape.ts#L76">view/geometry/edge/PolylineShape.ts:76</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the line shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><li><h5>pts: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">[]</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> rounded: <span class="tsd-signature-type">boolean</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="paintVertexShape" class="tsd-anchor"></a><h3>paint<wbr/>Vertex<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">paint<wbr/>Vertex<wbr/>Shape<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#paintVertexShape">paintVertexShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L718">view/geometry/Shape.ts:718</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the vertex shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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="reconfigure" class="tsd-anchor"></a><h3>reconfigure</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">reconfigure<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#reconfigure">reconfigure</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L327">view/geometry/Shape.ts:327</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reconfigures this shape. This will update the colors etc in
|
|
addition to the bounds or points.</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="redraw" class="tsd-anchor"></a><h3>redraw</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">redraw<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#redraw">redraw</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L334">view/geometry/Shape.ts:334</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates and returns the SVG node(s) to represent this shape.</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="redrawHtmlShape" class="tsd-anchor"></a><h3>redraw<wbr/>Html<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Html<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">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#redrawHtmlShape">redrawHtmlShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1136">view/geometry/Shape.ts:1136</a></li></ul></aside><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="redrawShape" class="tsd-anchor"></a><h3>redraw<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">redraw<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">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#redrawShape">redrawShape</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L449">view/geometry/Shape.ts:449</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the SVG or VML shape.</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="releaseSvgGradients" class="tsd-anchor"></a><h3>release<wbr/>Svg<wbr/>Gradients</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">release<wbr/>Svg<wbr/>Gradients<span class="tsd-signature-symbol">(</span>grads<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">GradientMap</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#releaseSvgGradients">releaseSvgGradients</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1150">view/geometry/Shape.ts:1150</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Paints the line shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>grads: <span class="tsd-signature-type">GradientMap</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="resetStyles" class="tsd-anchor"></a><h3>reset<wbr/>Styles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">reset<wbr/>Styles<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#resetStyles">resetStyles</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L889">view/geometry/Shape.ts:889</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Resets all styles.</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="setCursor" class="tsd-anchor"></a><h3>set<wbr/>Cursor</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><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"><p>Inherited from <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#setCursor">setCursor</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L982">view/geometry/Shape.ts:982</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the cursor on the given 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><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>The cursor to be used.</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 tsd-is-inherited"><a id="setTransparentBackgroundImage" class="tsd-anchor"></a><h3>set<wbr/>Transparent<wbr/>Background<wbr/>Image</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">set<wbr/>Transparent<wbr/>Background<wbr/>Image<span class="tsd-signature-symbol">(</span>node<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SVGElement</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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#setTransparentBackgroundImage">setTransparentBackgroundImage</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L1143">view/geometry/Shape.ts:1143</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets a transparent background CSS style to catch all events.</p>
|
|
</div><div><p>Paints the line shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>node: <span class="tsd-signature-type">SVGElement</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-overwrite"><a id="updateBoundingBox" class="tsd-anchor"></a><h3>update<wbr/>Bounding<wbr/>Box</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><li class="tsd-signature tsd-kind-icon">update<wbr/>Bounding<wbr/>Box<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>Overrides <a href="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#updateBoundingBox">updateBoundingBox</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/edge/ConnectorShape.ts#L32">view/geometry/edge/ConnectorShape.ts:32</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the <boundingBox> for this shape using <createBoundingBox>
|
|
and augmentBoundingBox and stores the result in <boundingBox>.</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="updateBoundsFromPoints" class="tsd-anchor"></a><h3>update<wbr/>Bounds<wbr/>From<wbr/>Points</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">update<wbr/>Bounds<wbr/>From<wbr/>Points<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#updateBoundsFromPoints">updateBoundsFromPoints</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L360">view/geometry/Shape.ts:360</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the bounds based on the points.</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="updateTransform" class="tsd-anchor"></a><h3>update<wbr/>Transform</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><li class="tsd-signature tsd-kind-icon">update<wbr/>Transform<span class="tsd-signature-symbol">(</span>c<span class="tsd-signature-symbol">: </span><a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a>, 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>, w<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, h<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="PolylineShape.html">PolylineShape</a>.<a href="PolylineShape.html#updateTransform">updateTransform</a></p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/geometry/Shape.ts#L707">view/geometry/Shape.ts:707</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the scale and rotation on the given canvas.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>c: <a href="AbstractCanvas2D.html" class="tsd-signature-type" data-tsd-kind="Class">AbstractCanvas2D</a></h5></li><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>w: <span class="tsd-signature-type">number</span></h5></li><li><h5>h: <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></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="ConnectorShape.html" class="tsd-kind-icon">Connector<wbr/>Shape</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#antiAlias" class="tsd-kind-icon">anti<wbr/>Alias</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#boundingBox" class="tsd-kind-icon">bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#bounds" class="tsd-kind-icon">bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#cursor" class="tsd-kind-icon">cursor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#dialect" class="tsd-kind-icon">dialect</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#direction" class="tsd-kind-icon">direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#endArrow" class="tsd-kind-icon">end<wbr/>Arrow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#endSize" class="tsd-kind-icon">end<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#fill" class="tsd-kind-icon">fill</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#fillOpacity" class="tsd-kind-icon">fill<wbr/>Opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#flipH" class="tsd-kind-icon">flipH</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#flipV" class="tsd-kind-icon">flipV</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#glass" class="tsd-kind-icon">glass</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#gradient" class="tsd-kind-icon">gradient</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#gradientDirection" class="tsd-kind-icon">gradient<wbr/>Direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#image" class="tsd-kind-icon">image</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#imageSrc" class="tsd-kind-icon">image<wbr/>Src</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicator" class="tsd-kind-icon">indicator</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorColor" class="tsd-kind-icon">indicator<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorDirection" class="tsd-kind-icon">indicator<wbr/>Direction</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorGradientColor" class="tsd-kind-icon">indicator<wbr/>Gradient<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorImageSrc" class="tsd-kind-icon">indicator<wbr/>Image<wbr/>Src</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorShape" class="tsd-kind-icon">indicator<wbr/>Shape</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#indicatorStrokeColor" class="tsd-kind-icon">indicator<wbr/>Stroke<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isDashed" class="tsd-kind-icon">is<wbr/>Dashed</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isRounded" class="tsd-kind-icon">is<wbr/>Rounded</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isShadow" class="tsd-kind-icon">is<wbr/>Shadow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#minSvgStrokeWidth" class="tsd-kind-icon">min<wbr/>Svg<wbr/>Stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#node" class="tsd-kind-icon">node</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#oldGradients" class="tsd-kind-icon">old<wbr/>Gradients</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#opacity" class="tsd-kind-icon">opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#originalPointerEvents" class="tsd-kind-icon">original<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#outline" class="tsd-kind-icon">outline</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#overlay" class="tsd-kind-icon">overlay</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#pointerEvents" class="tsd-kind-icon">pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#points" class="tsd-kind-icon">points</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#preserveImageAspect" class="tsd-kind-icon">preserve<wbr/>Image<wbr/>Aspect</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#rotation" class="tsd-kind-icon">rotation</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#scale" class="tsd-kind-icon">scale</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#shapePointerEvents" class="tsd-kind-icon">shape<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#spacing" class="tsd-kind-icon">spacing</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#startArrow" class="tsd-kind-icon">start<wbr/>Arrow</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#startSize" class="tsd-kind-icon">start<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#state" class="tsd-kind-icon">state</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stencil" class="tsd-kind-icon">stencil</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stencilPointerEvents" class="tsd-kind-icon">stencil<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#stroke" class="tsd-kind-icon">stroke</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#strokeOpacity" class="tsd-kind-icon">stroke<wbr/>Opacity</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#strokeWidth" class="tsd-kind-icon">stroke<wbr/>Width</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#style" class="tsd-kind-icon">style</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#svgPointerEvents" class="tsd-kind-icon">svg<wbr/>Pointer<wbr/>Events</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#svgStrokeTolerance" class="tsd-kind-icon">svg<wbr/>Stroke<wbr/>Tolerance</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#useSvgBoundingBox" class="tsd-kind-icon">use<wbr/>Svg<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#verticalTextRotation" class="tsd-kind-icon">vertical<wbr/>Text<wbr/>Rotation</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#visible" class="tsd-kind-icon">visible</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#addPoints" class="tsd-kind-icon">add<wbr/>Points</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#afterPaint" class="tsd-kind-icon">after<wbr/>Paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#apply" class="tsd-kind-icon">apply</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#augmentBoundingBox" class="tsd-kind-icon">augment<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#beforePaint" class="tsd-kind-icon">before<wbr/>Paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#checkBounds" class="tsd-kind-icon">check<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#clear" class="tsd-kind-icon">clear</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#configureCanvas" class="tsd-kind-icon">configure<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#create" class="tsd-kind-icon">create</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createBoundingBox" class="tsd-kind-icon">create<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createCanvas" class="tsd-kind-icon">create<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="ConnectorShape.html#createMarker" class="tsd-kind-icon">create<wbr/>Marker</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createSvgCanvas" class="tsd-kind-icon">create<wbr/>Svg<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#createTransparentSvgRectangle" class="tsd-kind-icon">create<wbr/>Transparent<wbr/>Svg<wbr/>Rectangle</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#destroy" class="tsd-kind-icon">destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#destroyCanvas" class="tsd-kind-icon">destroy<wbr/>Canvas</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getArcSize" class="tsd-kind-icon">get<wbr/>Arc<wbr/>Size</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getCursor" class="tsd-kind-icon">get<wbr/>Cursor</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getGradientBounds" class="tsd-kind-icon">get<wbr/>Gradient<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getLabelBounds" class="tsd-kind-icon">get<wbr/>Label<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getLabelMargins" class="tsd-kind-icon">get<wbr/>Label<wbr/>Margins</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getRotation" class="tsd-kind-icon">get<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getShapeRotation" class="tsd-kind-icon">get<wbr/>Shape<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getSvgScreenOffset" class="tsd-kind-icon">get<wbr/>Svg<wbr/>Screen<wbr/>Offset</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#getTextRotation" class="tsd-kind-icon">get<wbr/>Text<wbr/>Rotation</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#init" class="tsd-kind-icon">init</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#initStyles" class="tsd-kind-icon">init<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isHtmlAllowed" class="tsd-kind-icon">is<wbr/>Html<wbr/>Allowed</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isPaintBoundsInverted" class="tsd-kind-icon">is<wbr/>Paint<wbr/>Bounds<wbr/>Inverted</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#isRoundable" class="tsd-kind-icon">is<wbr/>Roundable</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paint" class="tsd-kind-icon">paint</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintBackground" class="tsd-kind-icon">paint<wbr/>Background</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintCurvedLine" class="tsd-kind-icon">paint<wbr/>Curved<wbr/>Line</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#paintEdgeShape" class="tsd-kind-icon">paint<wbr/>Edge<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintForeground" class="tsd-kind-icon">paint<wbr/>Foreground</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintGlassEffect" class="tsd-kind-icon">paint<wbr/>Glass<wbr/>Effect</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintLine" class="tsd-kind-icon">paint<wbr/>Line</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#paintVertexShape" class="tsd-kind-icon">paint<wbr/>Vertex<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#reconfigure" class="tsd-kind-icon">reconfigure</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redraw" class="tsd-kind-icon">redraw</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redrawHtmlShape" class="tsd-kind-icon">redraw<wbr/>Html<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#redrawShape" class="tsd-kind-icon">redraw<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#releaseSvgGradients" class="tsd-kind-icon">release<wbr/>Svg<wbr/>Gradients</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#resetStyles" class="tsd-kind-icon">reset<wbr/>Styles</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.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="ConnectorShape.html#setTransparentBackgroundImage" class="tsd-kind-icon">set<wbr/>Transparent<wbr/>Background<wbr/>Image</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="ConnectorShape.html#updateBoundingBox" class="tsd-kind-icon">update<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#updateBoundsFromPoints" class="tsd-kind-icon">update<wbr/>Bounds<wbr/>From<wbr/>Points</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="ConnectorShape.html#updateTransform" class="tsd-kind-icon">update<wbr/>Transform</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> |