Guest User

Untitled

a guest
Jul 21st, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. public void doDraw(Canvas c) {
  2. ...
  3. anim.onDraw(c, destRect); // draw animation frame
  4. ...
  5. }
  6.  
  7. protected void onDraw(Canvas canvas, Rect destRect) {
  8. canvas.drawBitmap(mAnimation, mSRectangle, destRect, null);
  9. }
Add Comment
Please, Sign In to add comment