UNPKG

jointjs

Version:

JavaScript diagramming library

3 lines (2 loc) 219 B
<pre class="docs-method-signature"><code>g.Point.random(x1, x2, y1, y2)</code></pre> <p>Returns a new point object with random coordinates that fall within the range <code>[x1, x2]</code> and <code>[y1, y2]</code>.</p>