1 | export {default as selectCanvas} from './src/selection';
|
2 | export {default as resolution} from './src/resolution';
|
3 | export {default as getSize} from './src/size';
|
4 | export {default as canvasPolygon} from './src/polygon';
|
5 | export {version as canvasVersion} from './package.json';
|
6 |
|
7 | import {tagDraws} from './src/draw';
|
8 |
|
9 | import circle from './src/tags/circle';
|
10 | import line from './src/tags/line';
|
11 | import path from './src/tags/path';
|
12 | import rect from './src/tags/rect';
|
13 | import text from './src/tags/text';
|
14 |
|
15 | tagDraws.set('circle', circle);
|
16 | tagDraws.set('line', line);
|
17 | tagDraws.set('path', path);
|
18 | tagDraws.set('rect', rect);
|
19 | tagDraws.set('text', text);
|
20 |
|
21 | tagDraws.set('linearGradient', false);
|
22 | tagDraws.set('radialGradient', false);
|