Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. @Override
  2. protected void onDraw(Canvas canvas) {
  3. // TODO Auto-generated method stub
  4. canvas.save();
  5. canvas.rotate(rotationAngle, rotationW, rotationH);
  6. super.onDraw(canvas);
  7. canvas.restore();
  8. }
  9.  
  10. .setRepeatCount(float angle);
  11.  
  12. @Override
  13. protected void onDraw(Canvas c) {
  14. c.save();
  15. c.rotate(...);
  16. super.onDraw(c);
  17. c.restore();
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement