Trunk- Added image support
- Added gradient support (IE still missing)
- Removed error prone clearRect(x,y,w,h) method
- Changed height and width getter/setter implementation
- Made canvas transparent by default
- Removed obsolete method stubs
- General code cleanup and rewrite
- Various implementation changes
- Changed package structure
- More bugfixes
Version 0.4.0- Increased rendering accuracy for the Internet Explorer implementation
- The background can now be made transparent with setBackgroundColor(Canvas.TRANSPARENT), however this will also disable the clearRect(x,y,w,h) method
- Added getBackgroundColor()
- clearRect(x,y,w,h) throws an exception if the canvas isn't in SOURCE_OVER mode or hasn't an opaque background color set (clear() works nevertheless)
- Transparency can't be enabled if clearRect(x,y,w,h) has been used (use clear() instead)
- DESTINATION_OVER mode can't be enabled if clearRect(x,y,w,h) has been used (use clear() instead)
- Improved cross-browser consistency with regards to subpaths
- Added a frequently requested feature to prohibit the default mouse selection behavior with preventSelection(boolean) and isSelectionPrevented(), but made it optional since it's performance may not be that good in some cases for the Internet Explorer implementation
- Removed overloaded method stubs that featured float values instead of doubles since JavaScript doesn't distinguish them anyway (I don't know if GWT does some magic here, but the performance seems to be unaffected)
- Each compilation target (IE, Firefox, Safari and Opera) has it's own implementation
- fill() and stroke() now longer destroy existing paths
- Improved the API documentation
- More bugfixes
Version 0.3.0- Added a compilation target for Safari/Opera and Firefox to match their behavior to the Internet Explorer implementation
- Added a workaround for the issue where the globalAlpha attribute wasn't restored by the restore() method in Firefox 1.5
- clear(), fill(), stroke(), clearRect(), fillRect() and strokeRect() now destroy existing paths in all implementations like Firefox does (however fill() and stroke() shouldn't - corrected in version 0.4.0)
- Fixed that setting the width and height of the widget's drawing area didn't always work, so getWidth() and getHeight() could return wrong values
- Deprecated setWidth(String) and setHeight(String) in favor of setWidth(int) and setHeight(int)
- Added overloaded methods for all methods that take float values as parameters. From here on doubles are supported everywhere and from the next version on the float stubs will vanish in favor of doubles (as this doesn't make a difference in JavaScript anyway)
- Improved the API documentation
- More bugfixes
Version 0.2.0- First notable release that had at least some reception
- Completed all pathing methods in the Internet Explorer implementation, including arcs and curves
- Added event handling for click, mouse and mousewheel events
- Added an opaque background color that is needed for the clearRect(x,y,w,h) to work
- Much more changes that I really can't remember :)
Versions 0.1.0 - 0.0.1
|