コード例 #1
0
 public CanvasContext(Canvas canvas) {
   this.canvas = canvas;
   resetContext(false);
 }
コード例 #2
0
 @Override
 public void resetContext() {
   resetContext(true);
 }
コード例 #3
0
 public CanvasContext() {
   canvas = new Canvas(DEFAULT_WIDTH, DEFAULT_HEIGHT);
   resetContext(true);
 }