title: Creating "snapping centering lines" on fabric.js canvas?
body: <p>I'm interested in programmatically setting "center points" that I can have only appear when objects are crossing them but I'm not really sure where to begin. </p>
  
  <p>Ideally, I'd have one horizontal line and 2 vertical lines appear when an object crosses any one of them, to help guide the user to center the object (only when selected/moving), instead of having to eyeball it. The object would snap to the line wherever it did cross it. (see image example):</p>
  
  <p><a href="https://i.stack.imgur.com/XcBOl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XcBOl.png" alt="enter image description here"></a></p>
  
  <p>The closest I've seen to anything like this <a href="https://stackoverflow.com/questions/37338183/is-there-anyway-to-make-canvas-object-auto-snap-align-on-fabric-js">was this question</a>, which is similar but still very different.</p>
  
  <p>Other notes:</p>
  
  <ul>
  <li>I am using fabric.js v 1.7.20</li>
  </ul>