s="name has-anchor" id="patchIndex"><span class="type-signature"></span>patchIndex<span class="signature">(x, y)</span><span class="type-signature"> &rarr; {number}</span></h3><div class="description"><p>Return index into Patches given valid x,y integers</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>x</c