forked from fabricjs/fabric.js
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.js
76 lines (76 loc) · 4.16 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import './HEADER';
// import './lib/event'), // optional gestures
import './src/mixins/observable.mixin';
import './src/mixins/collection.mixin';
import './src/mixins/shared_methods.mixin';
import './src/util/misc/misc';
// import './src/util/named_accessors.mixin'; i would imagine dead forever or proper setters/getters
import './src/parser'; // optional parser
import './src/point.class';
import './src/intersection.class';
import './src/color';
import './src/gradient'; // optional gradient
import './src/pattern.class'; // optional pattern
import './src/shadow.class'; // optional shadow
import './src/static_canvas.class';
import './src/canvas.class'; // optional interaction
import './src/mixins/canvas_events.mixin'; // optional interaction
import './src/mixins/canvas_grouping.mixin'; // optional interaction
import './src/mixins/canvas_dataurl_exporter.mixin';
import './src/mixins/canvas_serialization.mixin'; // optiona serialization
import './src/mixins/canvas_gestures.mixin'; // optional gestures
import './src/shapes/object.class';
import './src/mixins/object_origin.mixin';
import './src/mixins/object_geometry.mixin';
import './src/mixins/object_ancestry.mixin';
import './src/mixins/object_stacking.mixin';
import './src/mixins/object.svg_export';
import './src/mixins/stateful.mixin';
import './src/mixins/object_interactivity.mixin'; // optional interaction
import './src/mixins/animation.mixin'; // optional animation
import './src/shapes/line.class';
import './src/shapes/circle.class';
import './src/shapes/triangle.class';
import './src/shapes/ellipse.class';
import './src/shapes/rect.class';
import './src/shapes/polyline.class';
import './src/shapes/polygon.class';
import './src/shapes/path.class';
import './src/shapes/group.class';
import './src/shapes/active_selection.class'; // optional interaction
import './src/shapes/image.class';
import './src/mixins/object_straightening.mixin'; // optional objectstraightening
import './src/filters/webgl_backend.class'; // optional image_filters
import './src/filters/2d_backend.class'; // optional image_filters
import './src/filters/base_filter.class'; // optional image_filters
import './src/filters/colormatrix_filter.class'; // optional image_filters
import './src/filters/brightness_filter.class'; // optional image_filters
import './src/filters/convolute_filter.class'; // optional image_filters
import './src/filters/grayscale_filter.class'; // optional image_filters
import './src/filters/invert_filter.class'; // optional image_filters
import './src/filters/noise_filter.class'; // optional image_filters
import './src/filters/pixelate_filter.class'; // optional image_filters
import './src/filters/removecolor_filter.class'; // optional image_filters
import './src/filters/filter_generator'; // optional image_filters
import './src/filters/blendcolor_filter.class'; // optional image_filters
import './src/filters/blendimage_filter.class'; // optional image_filters
import './src/filters/resize_filter.class'; // optional image_filters
import './src/filters/contrast_filter.class'; // optional image_filters
import './src/filters/saturate_filter.class'; // optional image_filters
import './src/filters/vibrance_filter.class'; // optional image_filters
import './src/filters/blur_filter.class'; // optional image_filters
import './src/filters/gamma_filter.class'; // optional image_filters
import './src/filters/composed_filter.class'; // optional image_filters
import './src/filters/hue_rotation.class'; // optional image_filters
import './src/shapes/text.class'; // optional text
import './src/mixins/text_style.mixin'; // optional text
import './src/shapes/itext.class'; // optional itext
import './src/mixins/itext_behavior.mixin'; // optional itext
import './src/mixins/itext_click_behavior.mixin'; // optional itext
import './src/mixins/itext_key_behavior.mixin'; // optional itext
import './src/mixins/itext.svg_export'; // optional itext
import './src/shapes/textbox.class'; // optional textbox
import './src/controls'; // optional interaction
import './src/brushes'; // optional freedrawing
// extends fabric.StaticCanvas, fabric.Canvas, fabric.Object, depends on fabric.PencilBrush and fabric.Rect
// import './src/mixins/eraser_brush.mixin'; // optional erasing