diff options
Diffstat (limited to 'js/models/shape-model.js')
-rw-r--r-- | js/models/shape-model.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/js/models/shape-model.js b/js/models/shape-model.js new file mode 100644 index 00000000..9d4fff6f --- /dev/null +++ b/js/models/shape-model.js | |||
@@ -0,0 +1,40 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage, | ||
8 | Component = require("montage/ui/component").Component; | ||
9 | |||
10 | exports.ShapeModel = Montage.create(Component, { | ||
11 | |||
12 | shapeCount: { value: 0 }, | ||
13 | |||
14 | GLWorld: { value: null }, | ||
15 | GLGeomObj: { value: null }, | ||
16 | |||
17 | strokeSize: { value: null }, | ||
18 | stroke: { value: null }, | ||
19 | strokeMaterial: { value: null }, | ||
20 | strokeMaterialIndex: { value: null }, | ||
21 | strokeStyle: { value: null }, | ||
22 | strokeStyleIndex: { value: null }, | ||
23 | |||
24 | fill: { value: null }, | ||
25 | fillMaterial: { value: null }, | ||
26 | fillMaterialIndex: { value: null }, | ||
27 | |||
28 | // Line-specific | ||
29 | slope: { value: null }, | ||
30 | |||
31 | // Oval-specific | ||
32 | innerRadius: { value: null }, | ||
33 | |||
34 | // Rectangle-specific | ||
35 | tlRadius: { value: null }, | ||
36 | trRadius: { value: null }, | ||
37 | blRadius: { value: null }, | ||
38 | brRadius: { value: null } | ||
39 | |||
40 | }); \ No newline at end of file | ||