aboutsummaryrefslogtreecommitdiff
path: root/js/models/shape-model.js
diff options
context:
space:
mode:
authorPierre Frisch2011-12-22 07:25:50 -0800
committerValerio Virgillito2012-01-27 11:18:17 -0800
commitb89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch)
tree0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/models/shape-model.js
parent2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff)
downloadninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/models/shape-model.js')
-rw-r--r--js/models/shape-model.js40
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>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage,
8 Component = require("montage/ui/component").Component;
9
10exports.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