|
@@ -82,7 +82,6 @@ class DrawCanvas {
|
|
|
const el = arr[k].replace(/\s+/g, ',');
|
|
const el = arr[k].replace(/\s+/g, ',');
|
|
|
const key = el.replace(/[^A-Z]/g, '')
|
|
const key = el.replace(/[^A-Z]/g, '')
|
|
|
const value = el.replace(/[A-Z]/g, '').split(',')
|
|
const value = el.replace(/[A-Z]/g, '').split(',')
|
|
|
- console.log(77, key, value);
|
|
|
|
|
if (key === 'M') {
|
|
if (key === 'M') {
|
|
|
PATH.moveTo(value[0], value[1]);
|
|
PATH.moveTo(value[0], value[1]);
|
|
|
} else if (key === 'C') {
|
|
} else if (key === 'C') {
|