JDK-8101201 : Canvas Node
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2011-10-13
  • Updated: 2015-06-16
  • Resolved: 2012-05-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u6Fixed
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Duplicate :  
Sub Tasks
JDK-8101617 :  
JDK-8101618 :  
Description
We would like to have a JavaFX feature similar to HTML5 Canvas.
Comments
Verified that the feature is present
05-07-2012

Changeset: 1024a7f47c77 Author: "Joseph Andresen<joseph.andresen@oracle.com>" Date: Mon May 14 13:53:50 2012 -0700 URL: http://jfxsrc.us.oracle.com/javafx/2.2/scrum/graphics/rt-closed/rev/1024a7f47c77 Changeset: 863a591a3ccb Author: "Joseph Andresen<joseph.andresen@oracle.com>" Date: Mon May 14 14:00:14 2012 -0700 URL: http://jfxsrc.us.oracle.com/javafx/2.2/scrum/graphics/rt/rev/863a591a3ccb
14-05-2012

Exactly, please sign up for the mailing list and be on the lookout for the review to go out. The docs were posted here because it is the best public place to post them.
18-04-2012

This is a work in progress, but Joe should be ready to send it to the openjfx mailing list for discussion later today. If you are not already a member of that mailing list I encourage you to join. A mailing list will be better for a discussion of the proposal than using JIRA (although the final outcome should be captured here).
18-04-2012

What does "measureText" do. It does not have any description.
18-04-2012

Why is GraphicsContext a class and not an interface? To me this looks like the same mistake as in AWT. We need an interface here, because then you can easily write different implementations for it which render not only into a canvas but also into SVG, PDF, ...
18-04-2012

Docs (WIP) Attached for API Review
18-04-2012

I'm very much looking forward to a solution where retained and immediate mode systems work together in JavaFX. It is apparent that JavaFX will fall behind HTML5 soon unless this solution is realized ASAP. Here is a topic (Can D3 SVG Scene and Canvas be layered together?) on the D3.js forum that might have some useful information : http://groups.google.com/group/d3-js/browse_thread/thread/a4c7c3fb420bd6d3
27-03-2012

It might be interesting here to consider two variants of such a 2D canvas implementation. One that strictly adheres to the HTML 5 Canvas specification and one that extends AWTs Graphics2D. As they are very similar they could make use of a common base implementation.
16-02-2012

Will work with SQE to baseline this by 3/9/2012.
04-02-2012

Bump priority to match that of the PRD item
19-01-2012

Implements A360 Feature http://oracleplan.oracle.com/gotoEntity?entityType=FEATURE&entityId=769564
19-01-2012

We need a much clearer description of what is needed for this feature before we can scope it out.
19-01-2012