Javafx canvas vs pane
<p>I'm a novice Java/JavaFX programmer and I'm developing a simple JavaFX building design tool where you can draw out walls, floors etc. So objects (mostly Lines, Circles, Polygons, Rectangles images) are drawn &amp; created on screen rather than created prior to run.</p>

<p>I'm currently using a simple Pane as my visual drawing area, and adding objects directly to the pane which is working quite well. I have come across a few examples where people are implementing in a Canvas rather than a Pane but I can't seem to understand what the real difference is between the two or why a Pane doesn't suffice.</p>

<p>I was wondering if there were any benefits to using a Canvas as my visual area rather than just a simple Pane? </p>

<p>Thanks!</p>