Should Canvas have been Image subclass instead of Node?
Stephen F Northover
steve.x.northover at oracle.com
Wed Apr 23 19:15:00 UTC 2014
I think a graphics context on a writable image would make more sense.
In any case, Canvas is a Node and will remain one forever.
Steve
On 2014-04-22 6:15 PM, Jeff Martin wrote:
> 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
More information about the openjfx-dev
mailing list