Interface RequestAnimationCallback
-
public interface RequestAnimationCallback
Callback to tell the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation right before the next repaint.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
invoke(Date timestamp)
Tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation right before the next repaint.
-
-
-
Method Detail
-
invoke
void invoke(Date timestamp)
Tells the browser that you wish to perform an animation and requests that the browser calls a specified function to update an animation right before the next repaint.- Parameters:
timestamp
- the callback function is passed one single argument indicating the point in time when request animation frame starts to execute callback functions.
-
-