回答編集履歴
1
描画情報保存の際に新規インスタンスを生成するようにする
test
CHANGED
@@ -14,9 +14,9 @@
|
|
14
14
|
|
15
15
|
public DrawInfo(Path path, Paint paint) {
|
16
16
|
|
17
|
-
this.path = path;
|
17
|
+
this.path = new Path(path);
|
18
18
|
|
19
|
-
this.paint = paint;
|
19
|
+
this.paint = new Paint(paint);
|
20
20
|
|
21
21
|
}
|
22
22
|
|