UNPKG

create-gojs-kit

Version:

A CLI for downloading GoJS samples, extensions, and docs

201 lines 50.8 kB
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><link rel="stylesheet" href="../../assets/css/style.css"/><link rel="preconnect" href="https://rsms.me/"/><link rel="stylesheet" href="https://rsms.me/inter/inter.css"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PathSegment | GoJS API</title><meta name="description" content="Documentation for GoJS API"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script type="text/javascript">// formerly in api.js
  var hash = null;
  function changeHash() {
      var panels = document.getElementsByClassName("tsd-panel");
      for (let i = 0; i < panels.length; i++) {
          var p = panels[i];
          p.classList.remove("targeted");
      }
      hash = window.location.hash.slice(1);
      if (hash) {
          var elt = document.getElementById(hash);
          if (elt) elt.parentNode.classList.add("targeted");
      }
  }
  document.addEventListener("DOMContentLoaded", changeHash);
  window.addEventListener("hashchange", changeHash);</script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header><nav id="navTop" class="w-full h-[var(--topnav-h)] z-30 bg-[var(--color-background-secondary)] border-b border-b-[var(--color-accent)]"><div class="max-w-screen-xl mx-auto flex flex-wrap items-start justify-between px-4"><a class="!text-white bg-nwoods-primary font-bold !leading-[calc(var(--topnav-h)_-_1px)] my-0 px-2 text-4xl lg:text-5xl logo" href="../../index.html">GoJS</a><div class="relative"><button id="topnavButton" class="h-[calc(var(--topnav-h)_-_1px)] px-2 m-0 text-[var(--color-text)] bg-inherit shadow-none md:hidden hover:!bg-inherit hover:!text-nwoods-accent hover:!shadow-none" aria-label="Navigation"><svg class="h-7 w-7 block" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button><div id="topnavList" class="hidden md:block"><div class="absolute right-0 z-30 flex flex-col items-end rounded border border-[var(--color-accent)] p-4 pl-12 shadow bg-[var(--color-background-secondary)] text-[var(--color-text)] font-semibold
                        md:flex-row md:space-x-4 md:items-start md:border-0 md:p-0 md:shadow-none md:!bg-inherit"><a href="../../learn/index.html">Learn</a><a href="../../samples/index.html">Samples</a><a href="../../intro/index.html">Intro</a><a class="active" href="../../api/index.html">API</a><a href="../../download.html">Download</a><a href="https://forum.nwoods.com/c/gojs/11" target="_blank" rel="noopener">Forum</a><a href="https://nwoods.com/contact.html" target="_blank" rel="noopener" id="contactBtn">Contact</a><a href="https://nwoods.com/sales/index.html" target="_blank" rel="noopener" id="buyBtn">Buy</a></div></div></div></div></nav><script>window.addEventListener("DOMContentLoaded", function () {
    // topnav
    var topButton = document.getElementById("topnavButton");
    var topnavList = document.getElementById("topnavList");
    if (topButton && topnavList) {
      topButton.addEventListener("click", function (e) {
        topnavList
          .classList
          .toggle("hidden");
        e.stopPropagation();
      });
      document.addEventListener("click", function (e) {
        // if the clicked element isn't the list, close the list
        if (!topnavList.classList.contains("hidden") && !e.target.closest("#topnavList")) {
          topButton.click();
        }
      });

      // set active <a> element
      // done via active tag below, always API
    }
  });</script><div class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><div id="tsd-search-help"><code class="!text-lg">/</code> to search</div><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></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">GoJS API</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><div class="flex w-full max-w-screen-xl mx-auto px-2 items-center justify-between"><div><ul class="tsd-breadcrumb"><li><a href="../index.html">GoJS API</a></li><li><a href="PathSegment.html">PathSegment</a></li></ul><h1 class="flex items-center">Class PathSegment</h1></div><div class="text-xs"><b>GoJS</b>® Diagramming Components<br/>version 3.1.0<br/>by <a href="https://nwoods.com/">Northwoods Software®</a></div></div></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>A PathSegment represents a straight line or curved segment of a path between
two or more points that are part of a <a href="PathFigure.html" class="tsd-kind-class">PathFigure</a>.
The very first point is given by the <a href="PathFigure.html#startX" class="tsd-kind-accessor">PathFigure.startX</a> and <a href="PathFigure.html#startY" class="tsd-kind-accessor">PathFigure.startY</a> properties.
After the first segment the beginning point of the next segment is the same as the end point of the previous segment.
For most types of PathSegments the end point of the segment is given by <a href="PathSegment.html#endX" class="tsd-kind-accessor">endX</a> and <a href="PathSegment.html#endY" class="tsd-kind-accessor">endY</a>.</p>
<p>A PathSegment must not be modified once its containing <a href="PathFigure.html" class="tsd-kind-class">PathFigure</a>&#39;s
<a href="Geometry.html" class="tsd-kind-class">Geometry</a> has been assigned to a <a href="Shape.html" class="tsd-kind-class">Shape</a>.</p>
</div></section><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="true" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="PathSegment.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Accessors</h3><div class="tsd-index-list"><a href="PathSegment.html#centerX" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>centerX</span></a>
<a href="PathSegment.html#centerY" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>centerY</span></a>
<a href="PathSegment.html#endX" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>endX</span></a>
<a href="PathSegment.html#endY" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>endY</span></a>
<a href="PathSegment.html#isClockwiseArc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Clockwise<wbr/>Arc</span></a>
<a href="PathSegment.html#isClosed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Closed</span></a>
<a href="PathSegment.html#isLargeArc" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Large<wbr/>Arc</span></a>
<a href="PathSegment.html#point1X" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point1X</span></a>
<a href="PathSegment.html#point1Y" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point1Y</span></a>
<a href="PathSegment.html#point2X" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point2X</span></a>
<a href="PathSegment.html#point2Y" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point2Y</span></a>
<a href="PathSegment.html#radiusX" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>radiusX</span></a>
<a href="PathSegment.html#radiusY" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>radiusY</span></a>
<a href="PathSegment.html#startAngle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>start<wbr/>Angle</span></a>
<a href="PathSegment.html#sweepAngle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>sweep<wbr/>Angle</span></a>
<a href="PathSegment.html#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>type</span></a>
<a href="PathSegment.html#xAxisRotation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>x<wbr/>Axis<wbr/>Rotation</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="PathSegment.html#close" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close</span></a>
<a href="PathSegment.html#copy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy</span></a>
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="PathSegment.html#Arc" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><g id="subicon-S,#FF984D"><rect fill="var(--color-icon-background)" width="28" height="28" rx="14"></rect><path transform="translate(2, 2)" fill="none" stroke-width="1.5" stroke="var(--color-text)" d="M5.25 8.25h15m-16.5 7.5h15m-1.8-13.5-3.9 19.5m-2.1-19.5-3.9 19.5" stroke-linecap="round" stroke-linejoin="round"></path></g></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><g id="subicon-R,#FF984D"><rect fill="var(--color-icon-background)" width="28" height="28" rx="14"></rect><path transform="translate(2, 2)" fill="none" stroke-width="1.5" stroke="var(--color-text)" d="M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z" stroke-linecap="round" stroke-linejoin="round"></path></g></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Arc</span></a>
<a href="PathSegment.html#Bezier" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Bezier</span></a>
<a href="PathSegment.html#Line" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Line</span></a>
<a href="PathSegment.html#Move" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Move</span></a>
<a href="PathSegment.html#QuadraticBezier" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Quadratic<wbr/>Bezier</span></a>
<a href="PathSegment.html#SvgArc" class="tsd-index-link deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Svg<wbr/>Arc</span></a>
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Constructors</h2><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_PathSegment" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Path<wbr/>Segment</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">?: </span><a href="SegmentType.html" class="tsd-signature-type tsd-kind-enum">SegmentType</a>, <span class="tsd-kind-parameter">ex</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, <span class="tsd-kind-parameter">ey</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, <span class="tsd-kind-parameter">x1</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, <span class="tsd-kind-parameter">y1</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, <span class="tsd-kind-parameter">x2</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, <span class="tsd-kind-parameter">y2</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span>, <span class="tsd-kind-parameter">clockwise</span><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><a href="PathSegment.html" class="tsd-signature-type tsd-kind-class">PathSegment</a><a href="#constructor.new_PathSegment" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Constructs a segment that goes nowhere unless you specify some Points.</p>
<p>The very first point of a path is specified in the containing <a href="PathFigure.html" class="tsd-kind-class">PathFigure</a> by
its <a href="PathFigure.html#startX" class="tsd-kind-accessor">PathFigure.startX</a> and <a href="PathFigure.html#startY" class="tsd-kind-accessor">PathFigure.startY</a> properties.</p>
<p>The segment type must be a <a href="SegmentType.html" class="tsd-kind-enum">SegmentType</a>.
You will want to add a new instance of a PathSegment to the
<a href="PathFigure.html#segments" class="tsd-kind-accessor">PathFigure.segments</a> list of a <a href="PathFigure.html" class="tsd-kind-class">PathFigure</a>.</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">type</span>: <a href="SegmentType.html" class="tsd-signature-type tsd-kind-enum">SegmentType</a></h5><div class="tsd-comment tsd-typography"><p>if not supplied, the default PathSegment type is <a href="SegmentType.html#Line" class="tsd-kind-enum-member">SegmentType.Line</a>.
  But if the type is supplied, one must also provide the endpoint X and Y values,
  either as arguments in this constructor or by setting the <a href="PathSegment.html#endX" class="tsd-kind-accessor">endX</a> and <a href="PathSegment.html#endY" class="tsd-kind-accessor">endY</a> properties.
  If the type is QuadraticBezier, the X1 and Y1 control point values must both be supplied.
  If the type is Bezier, X1, Y1, X2, and Y2 control point values must all be supplied.</p>
<p>If the type is <a href="SegmentType.html#Line" class="tsd-kind-enum-member">Line</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.Line, ex, ey)</code></p>
<ul>
<li><strong>ex, ey</strong> describe the end point</li>
</ul>
<p>If the type is <a href="SegmentType.html#QuadraticBezier" class="tsd-kind-enum-member">QuadraticBezier</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.QuadraticBezier, ex, ey, x1, y1)</code></p>
<ul>
<li><strong>ex, ey</strong> describe the end point</li>
<li><strong>x1, y1</strong> describe the only control point</li>
</ul>
<p>If the type is <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">Bezier</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.Bezier, ex, ey, x1, y1, x2, y2)</code></p>
<ul>
<li><strong>ex, ey</strong> describe the end point</li>
<li><strong>x1, y1</strong> describe the first control point</li>
<li><strong>x2, y2</strong> describe the second control point</li>
</ul>
<p>If the type is <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.Arc, startAngle, sweepAngle, centerX, centerY, radiusX, radiusY)</code></p>
<ul>
<li><strong>startAngle</strong> describes the start angle, in degrees</li>
<li><strong>sweepAngle</strong> describes the sweep angle, in degrees</li>
<li><strong>centerX, centerY</strong> describe the center point</li>
<li><strong>radiusX, radiusY</strong> describe the radiusX and radiusY</li>
</ul>
<p>If the type is <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.SvgArc, ex, ey, radiusX, radiusY, xAxisRotation, largeArcFlag, clockwiseFlag)</code></p>
<p>They are in the same order as arcs in SVG path strings, except the endpoint x and y values come first, not last.</p>
<ul>
<li><strong>ex, ey</strong> describe the endpoint</li>
<li><strong>radiusX, radiusY</strong> describe the radius</li>
<li><strong>xAxisRotation</strong> describes the <a href="PathSegment.html#xAxisRotation" class="tsd-kind-accessor">xAxisRotation</a> (number in degrees)</li>
<li><strong>largeArcFlag</strong> describes the <a href="PathSegment.html#isLargeArc" class="tsd-kind-accessor">isLargeArc</a> (true or false)</li>
<li><strong>clockwiseFlag</strong> describes the <a href="PathSegment.html#isClockwiseArc" class="tsd-kind-accessor">isClockwiseArc</a> (true or false).</li>
</ul>
<p>If the type is <a href="SegmentType.html#Move" class="tsd-kind-enum-member">Move</a> it needs the following arguments:</p>
<p><code>(go.SegmentType.Move, ex, ey)</code></p>
<ul>
<li><strong>ex, ey</strong> describe the next starting point</li>
</ul>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ex</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>optional: the X coordinate of the end point, or the startAngle of an Arc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">ey</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>optional: the Y coordinate of the end point, or the sweepAngle of an Arc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">x1</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>optional: the X coordinate of the first bezier control point, or the centerX of an Arc, or the radiusX of an SvgArc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">y1</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>optional: the Y coordinate of the first bezier control point, or the centerY of an Arc, or the radiusY of an SvgArc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">x2</span>: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><p>optional: the X coordinate of the second cubic bezier control point, or the radiusX of an Arc, or the xAxisRotation of an SvgArc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">y2</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>optional: the Y coordinate of the second cubic bezier control point, or the radiusY of an Arc, or whether this is the larger arc of an SvgArc.</p>
</div></li><li><h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">clockwise</span>: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><p>optional: whether an SvgArc goes clockwise or counterclockwise.</p>
</div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="PathSegment.html" class="tsd-signature-type tsd-kind-class">PathSegment</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Accessors</h2><section class="tsd-panel tsd-member"><a id="centerX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>centerX</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#centerX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the center X value of the Arc for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="centerY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>centerY</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#centerY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the center Y value of the Arc for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="endX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>endX</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#endX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the X coordinate of the end point for all types of PathSegment except <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.
The default value is zero.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="endY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>endY</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#endY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the Y coordinate of the end point for all types of PathSegment except <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.
The default value is zero.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="isClockwiseArc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Clockwise<wbr/>Arc</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></div><a href="#isClockwiseArc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the clockwise-flag for a PathSegment of type <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a>.
SVG Arcs specify a radius and an endpoint, and are always a portion of an ellipse.
The parameters allow for two potential ellipses and four potential arcs.
A clockwise-flag set to true will use one of the two possible positive-angle arcs,
and false will use one of the two negative-angle arcs. Which arc is chosen (small or large)
depends on the value of <a href="PathSegment.html#isLargeArc" class="tsd-kind-accessor">isLargeArc</a>.
For more information see the visual examples in the
<a href="https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands" target="_blank">SVG Arc specification (w3.org)</a></p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="isClosed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Closed</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></div><a href="#isClosed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets whether the path is closed after this PathSegment.
Default value is false.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="isLargeArc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>is<wbr/>Large<wbr/>Arc</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></div><a href="#isLargeArc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the large-arc-flag for a PathSegment of type <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a>.
SVG Arcs specify a radius and an endpoint, and are always a portion of an ellipse.
The parameters allow for two potential ellipses and four potential arcs.
A large-arc-flag set to true will choose the larger of the two arc sweeps.
Which way the arc sweeps (positive angle or negative angle) depends on the value of <a href="PathSegment.html#isClockwiseArc" class="tsd-kind-accessor">isClockwiseArc</a>
For more information see the visual examples in the
<a href="https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands" target="_blank">SVG Arc specification (w3.org)</a></p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="point1X" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point1X</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#point1X" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the X value of the first control point for a PathSegment
of type <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">Bezier</a> or <a href="SegmentType.html#QuadraticBezier" class="tsd-kind-enum-member">QuadraticBezier</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="point1Y" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point1Y</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#point1Y" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the Y value of the first control point for a PathSegment
of type <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">Bezier</a> or <a href="SegmentType.html#QuadraticBezier" class="tsd-kind-enum-member">QuadraticBezier</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="point2X" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point2X</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#point2X" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the X value of the second control point for a PathSegment
of type cubic <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">Bezier</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="point2Y" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>point2Y</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#point2Y" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the Y value of the second control point for a PathSegment
of type cubic <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">Bezier</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="radiusX" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>radiusX</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#radiusX" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the X value of the radius for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a> or <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a>.
Value must be a positive number.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="radiusY" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>radiusY</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#radiusY" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the Y value of the radius for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a> or <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a>.
Value must be a positive number.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="startAngle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>start<wbr/>Angle</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#startAngle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the starting angle for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.
Value must within the range: (0 &lt;= value &lt; 360).</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="sweepAngle" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sweep<wbr/>Angle</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#sweepAngle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the length of angle in degrees, or amount of arc to &quot;sweep&quot; for a PathSegment of type <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">Arc</a>.
Must be between -360 and 360, inclusive.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="type" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>type</span><div class="membertype"><span class="tsd-signature-symbol">: </span><a href="SegmentType.html" class="tsd-signature-type tsd-kind-enum">SegmentType</a></div><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the type of the PathSegment.
The value must be a <a href="SegmentType.html" class="tsd-kind-enum">SegmentType</a>.</p>
</div></li></ul></section><section class="tsd-panel tsd-member"><a id="xAxisRotation" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>x<wbr/>Axis<wbr/>Rotation</span><div class="membertype"><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></div><a href="#xAxisRotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets or sets the X-axis rotation for a PathSegment of type <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SvgArc</a>.
X-axis rotation is used to rotate the ellipse that the arc is created from,
and must be between 0 and 360 degrees.
Default is 0.</p>
</div></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Methods</h2><section class="tsd-panel tsd-member"><a id="close" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>close</span><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="close.close-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">close</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span><a href="#close.close-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Closes the path after this PathSegment</p>
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><p>returns this PathSegment.</p>
</li></ul></section><section class="tsd-panel tsd-member"><a id="copy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagVirtual">Virtual</code><span>copy</span><a href="#copy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="copy.copy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">copy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="PathSegment.html" class="tsd-signature-type tsd-kind-class">PathSegment</a><a href="#copy.copy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create a copy of this PathSegment, of the same type and with the same point values.</p>
</div><h4 class="tsd-returns-title">Returns <a href="PathSegment.html" class="tsd-signature-type tsd-kind-class">PathSegment</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="Arc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Arc</span><a href="#Arc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#Arc" class="tsd-kind-enum-member">SegmentType.Arc</a>.</p>
</div></div></section><section class="tsd-panel tsd-member"><a id="Bezier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Bezier</span><a href="#Bezier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#Bezier" class="tsd-kind-enum-member">SegmentType.Bezier</a>.</p>
</div></div></section><section class="tsd-panel tsd-member"><a id="Line" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Line</span><a href="#Line" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#Line" class="tsd-kind-enum-member">SegmentType.Line</a>.</p>
</div></div></section><section class="tsd-panel tsd-member"><a id="Move" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Move</span><a href="#Move" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#Move" class="tsd-kind-enum-member">SegmentType.Move</a>.</p>
</div></div></section><section class="tsd-panel tsd-member"><a id="QuadraticBezier" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Quadratic<wbr/>Bezier</span><a href="#QuadraticBezier" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#QuadraticBezier" class="tsd-kind-enum-member">SegmentType.QuadraticBezier</a>.</p>
</div></div></section><section class="tsd-panel tsd-member"><a id="SvgArc" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagReadonly">Readonly</code> <span class="deprecated">Svg<wbr/>Arc</span><a href="#SvgArc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-comment-tags tsd-typography"><div class="flex items-center"><code class="tsd-tag">deprecated</code><p>See <a href="SegmentType.html#SvgArc" class="tsd-kind-enum-member">SegmentType.SvgArc</a>.</p>
</div></div></section></section></div><div class="col-sidebar"><div class="page-menu"><details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><ul><li><a href="#constructor"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></li><li><a href="#centerX"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>centerX</span></a></li><li><a href="#centerY"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>centerY</span></a></li><li><a href="#endX"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>endX</span></a></li><li><a href="#endY"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>endY</span></a></li><li><a href="#isClockwiseArc"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Clockwise<wbr/>Arc</span></a></li><li><a href="#isClosed"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Closed</span></a></li><li><a href="#isLargeArc"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>is<wbr/>Large<wbr/>Arc</span></a></li><li><a href="#point1X"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point1X</span></a></li><li><a href="#point1Y"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point1Y</span></a></li><li><a href="#point2X"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point2X</span></a></li><li><a href="#point2Y"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>point2Y</span></a></li><li><a href="#radiusX"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>radiusX</span></a></li><li><a href="#radiusY"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>radiusY</span></a></li><li><a href="#startAngle"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>start<wbr/>Angle</span></a></li><li><a href="#sweepAngle"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>sweep<wbr/>Angle</span></a></li><li><a href="#type"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>type</span></a></li><li><a href="#xAxisRotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-262144"></use></svg><span>x<wbr/>Axis<wbr/>Rotation</span></a></li><li><a href="#close"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close</span></a></li><li><a href="#copy"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>copy</span></a></li><li><a href="#Arc" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Arc</span></a></li><li><a href="#Bezier" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Bezier</span></a></li><li><a href="#Line" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Line</span></a></li><li><a href="#Move" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Move</span></a></li><li><a href="#QuadraticBezier" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Quadratic<wbr/>Bezier</span></a></li><li><a href="#SvgArc" class="deprecated"><svg class="static tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-S,#FF984D"></use></svg><svg class="readonly tsd-subicon" viewBox="0 0 28 28"><use href="#subicon-R,#FF984D"></use></svg><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>Svg<wbr/>Arc</span></a></li></ul></div></details><div class="tsd-navigation settings"><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">System</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>GoJS API</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd w-full max-w-screen-xl mx-auto px-2"><div class="bottom-copyright">Copyright © 1998-2025 by Northwoods Software Corporation.</div></div><div class="overlay"></div><script async src="https://www.googletagmanager.com/gtag/js?id=G-S5QK8VSK84"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-S5QK8VSK84');
var getOutboundLink = function(url, label) {
  gtag('event', 'click', {
  'event_category': 'outbound',
  'event_label': label,
  'transport_type': 'beacon'
  });
}

document.getElementById("contactBtn").addEventListener("click", function() {
  getOutboundLink('https://nwoods.com/contact.html', 'contact');
});
document.getElementById("buyBtn").addEventListener("click", function() {
  getOutboundLink('https://nwoods.com/sales/index.html', 'buy');
});</script></body></html>