GUI -- Packet-Optical Demo - initial cut of sprite layer.
Change-Id: I985444b5a6a67ea0a06c59b5c5f13da0a0835512
Showing
1 changed file
with
42 additions
and
0 deletions
1 | +{ | ||
2 | + "defn_name": "packetOptical", | ||
3 | + "defn_desc": "Packet-Optical Demo - ONS 2015", | ||
4 | + | ||
5 | + "paths": [ | ||
6 | + { | ||
7 | + "tag": "outline", | ||
8 | + "stroke": { | ||
9 | + "width": 1.0 | ||
10 | + }, | ||
11 | + "viewbox": "0 0 140 170", | ||
12 | + "d": "M10,10h100v150h-100z" | ||
13 | + } | ||
14 | + ], | ||
15 | + | ||
16 | + "defn": [ | ||
17 | + { | ||
18 | + "id": "group", | ||
19 | + "path": "outline", | ||
20 | + "dim": [700, 1000] | ||
21 | + } | ||
22 | + ], | ||
23 | + | ||
24 | + "load": { | ||
25 | + "sprites": [ | ||
26 | + { "id": "group", "pos": [-300, 0], "class": "gold1" }, | ||
27 | + { "id": "group", "pos": [200, 0], "class": "gold1" }, | ||
28 | + { "id": "group", "pos": [700, 0], "class": "gold1" } | ||
29 | + ], | ||
30 | + | ||
31 | + "labels": [ | ||
32 | + { "pos":[0,800], "text":"Ciena", "class":"blue1", "size":1.4 }, | ||
33 | + { "pos":[0,840], "text":"Ottawa, Ontario", "class":"blue1", "size":1.0 }, | ||
34 | + | ||
35 | + { "pos":[500,800], "text":"Fujitsu", "class":"blue1", "size":1.4 }, | ||
36 | + { "pos":[500,840], "text":"Richardson, TX", "class":"blue1", "size":1.0 }, | ||
37 | + | ||
38 | + { "pos":[1000,800], "text":"Huawei", "class":"blue1", "size":1.4 }, | ||
39 | + { "pos":[1000,840], "text":"Plano, TX", "class":"blue1", "size":1.0 } | ||
40 | + ] | ||
41 | + } | ||
42 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment