Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void doDraw(Canvas c) {
- ...
- anim.onDraw(c, destRect); // draw animation frame
- ...
- }
- protected void onDraw(Canvas canvas, Rect destRect) {
- canvas.drawBitmap(mAnimation, mSRectangle, destRect, null);
- }
Add Comment
Please, Sign In to add comment