1 | import { image2D_Object } from "./image2D.d";
|
2 | import { point , ruler} from './type.d';
|
3 | import { dot } from './dot.d';
|
4 | import { matrix4 } from './matrix4.d';
|
5 | import { cardinal } from './interpolation.d';
|
6 | import { treeLayout_options, treeLayout, pieLayout_options, pieLayout } from './layout.d';
|
7 | import { map_options, map } from './map.d';
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | declare function image2D(selector: Function | Element | string | image2D_Object | Array<Element | image2D_Object>, context?: Element): image2D_Object;
|
15 |
|
16 | export default image2D;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | image2D.stopPropagation = (event: Event): image2D => { };
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | image2D.preventDefault = (event: Event): image2D => { };
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 | image2D.rotate = (cx: number, cy: number, deg: number, x: number, y: number): point => { };
|
40 |
|
41 |
|
42 |
|
43 |
|
44 | image2D.move = (ax: number, ay: number, d: number, x: number, y: number): point => { };
|
45 |
|
46 |
|
47 |
|
48 |
|
49 | image2D.scale = (cx: number, cy: number, times: number, x: number, y: number): point => { };
|
50 |
|
51 |
|
52 |
|
53 |
|
54 | image2D.dot = (init: {
|
55 | d: [dx: number, dy: number],
|
56 | c: [cx: number, cy: number],
|
57 | p: [x: number, y: number]
|
58 | }): dot => { };
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 | image2D.Matrix4 = (initMatrix4?:any): matrix4 => { };
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 | image2D.cardinal = (): cardinal => { };
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
78 | image2D.treeLayout = (config?: treeLayout_options): treeLayout => { };
|
79 |
|
80 |
|
81 |
|
82 |
|
83 | image2D.pieLayout = (config?: pieLayout_options): pieLayout => { };
|
84 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 | image2D.map = (config?: map_options): map => { };
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 |
|
97 | image2D.animation = (doit: Function, speeds?: number, endBack?: Function, timing): Function => { };
|
98 |
|
99 |
|
100 |
|
101 |
|
102 | image2D.formatColor = (colorString: string): Array<number> => { };
|
103 |
|
104 |
|
105 |
|
106 |
|
107 | image2D.getRandomColors = (num: number, alpha?: number): Array<string> => { };
|
108 |
|
109 |
|
110 |
|
111 |
|
112 | image2D.getLoopColors = (num: number, alpha?: number): Array<string> => { };
|
113 |
|
114 |
|
115 |
|
116 |
|
117 | image2D.ruler = (maxValue: number, minValue: number, number?: number): ruler => { };
|