()
| 505 | |
| 506 | /** |
| 507 | * sets whether this canvas updates and repaints constantly (every animation cycle) or only once when repaint has been called |
| 508 | */ |
| 509 | public void setLazyRepainting(boolean b) { |
| 510 | lazyRepainting = b; |
| 511 | } |
| 512 | |
| 513 | /** |
| 514 | * requests that this canvas repaints itself this animation cycle. Note, that you should almost certainly setLazyRepainting(true) before you call this, otherwise the canvas will update every |
| 515 | * cycle whether you call this or not. |