Drawing shapes on JavaFX canvas
<p>Let's say I have some shapes like:</p>

<pre><code>Shape s1 = new Rectangle(10, 10);
Shape s2 = new Circle(10);
</code></pre>

<p>etc.
I would like to draw them on canvas. In Swing it was possible through Graphics2D.draw(Shape shape) method, but I don't see equivalent in JavaFX GraphicsContext. Is there something like this in JavaFX?</p>