Is there a redraw-event for HTML5's canvas element?

Posted by valmar on Stack Overflow See other posts from Stack Overflow or by valmar
Published on 2010-04-01T12:37:51Z Indexed on 2010/04/18 7:43 UTC
Read the original article Hit count: 516

Filed under:
|
|
|
|

As the title says, I need a notification when the content of a canvas element was redrawn. Is this possible?

If not, a notification when the whole page was redrawn would also be ok (reDRAWN not reLOADED!).

The reason why I need this is that I want to get the current FPS of an animation running inside a canvas.

© Stack Overflow or respective owner

Related posts about html5

Related posts about JavaScript