Hi,

when a Canvas is often cleared and redrawn (for example during a drag and 
drop action): would it be better to call ctx.clearRect(0, 0, clientWidth(), 
clientHeight())?
Or just create a new Canvas by Canvas.createIfSupported() and replace the 
currently drawn canvas by the new one?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to