HTML and CSS Reference
In-Depth Information
Canvas Level-2
The next version of the Canvas, dubbed “Level 2,” is slated to have changes and updates to
theAPI.Thenewfeaturesandfunctionalityareinaconstantstateofflux.Itappearsthatmost
of these new features are being added so that the Canvas can be more DOM accessible. At
press time, it appeared that some of the following would make it into the final specification:
▪ A way to define “hit regions” for mouse events instead of listening across the entire Can-
vas.
▪ The TextMetrics object returned from context.measureText will include many more
properties, including bounding box and height information.
▪ New ways to create and use patterns from images and image data.
▪ New Path objects that can have text applied.
For more information about the Canvas updates in HTML5.1, check out this site .
For more information about Canvas Level 2, check out this site .
Search WWH ::




Custom Search