UNPKG

jointjs

Version:

JavaScript diagramming library

7 lines (4 loc) 468 B
<pre class="docs-method-signature"><code>g.bezier.curveThroughPoints(points)</code></pre> <p>Deprecated. Use the <code>g.Curve.throughPoints</code> <a href="#g.Curve.throughPoints">function</a> instead.</p> <p>Return the SVG path that defines a cubic bezier curve passing through <code>points</code>.</p> <p>This method automatically computes the cubic bezier control points necessary to create a smooth curve with <code>points</code> as intermediary endpoints.</p>