How would you (easily) use it in the scenegraph if it wasn't a Node? -----Original Message----- From: openjfx-dev [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Jeff Martin Sent: Wednesday, April 23, 2014 8:16 AM To: firstname.lastname@example.org Mailing Subject: Should Canvas have been Image subclass instead of Node?
I have a case where I need to draw to a canvas and reuse it in multiple nodes. My non-optimal work-around is to take a snapshot and use that, but it makes me wonder if Canvas should have been an Image subclass or if WritableImage should get it's own getGraphicsContext() method. jeff=