592 lines
22 KiB
Smarty
592 lines
22 KiB
Smarty
|
|
Schema.addCategory({name:"nqms_physDeploy", text:"物理部署图", dataAttributes:[
|
|
{name:"No.", type:"number", value:"", category:"default"},
|
|
{name:"Name", type:"string", value:"", category:"default"},
|
|
{name:"Owner", type:"string", value:"", category:"default"},
|
|
{name:"Link", type:"link", value:"", category:"default"},
|
|
{name:"Memo", type:"string", value:"", category:"default"},
|
|
{name:"Cost", type:"number", value:"", category:"default"},
|
|
{name:"Time", type:"number", value:"", category:"default"},
|
|
{name:"Manner", type:"list", value:"", category:"default"},
|
|
{name:"Department", type:"string", value:"", category:"default"},
|
|
{name:"Input", type:"string", value:"", category:"default"},
|
|
{name:"Output", type:"string", value:"", category:"default"},
|
|
{name:"Risk", type:"string", value:"", category:"default"},
|
|
{name:"Remarks", type:"string", value:"", category:"default"}
|
|
]});
|
|
|
|
/***内嵌矩形*/Schema.addGlobalCommand("inline_rect",[
|
|
{action:"move",x:"40",y:"5"},
|
|
{action:"line",x:"w",y:"5"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"40",y:"h"},
|
|
{action:"close"}
|
|
]);
|
|
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
|
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
|
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
|
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
|
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
|
{action:"close"},
|
|
{action:"move",x:"40*0.25",y:"h*0.5"},
|
|
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
|
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
|
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
|
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
|
{action:"line",x:"40*0.75",y:"h*0.5"},
|
|
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
|
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
|
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
|
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
|
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
|
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
|
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
|
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
|
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
|
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
|
{action:"close"},
|
|
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
|
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
|
{action:"close"},
|
|
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
|
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
|
{action:"close"},
|
|
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
|
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
|
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
|
{action:"close"}
|
|
]);
|
|
|
|
/***应用系统类型*/Schema.addGlobalCommand("application_system",[
|
|
{action:"move",x:"10",y:"h*0.5-14"},
|
|
{action:"line",x:"40",y:"h*0.5-14"},
|
|
{action:"line",x:"40",y:"h*0.5+14"},
|
|
{action:"line",x:"10",y:"h*0.5+14"},
|
|
{action:"close"},
|
|
{action:"move",x:"14",y:"h*0.5-5"},
|
|
{action:"line",x:"36",y:"h*0.5-5"},
|
|
{action:"line",x:"36",y:"h*0.5+10"},
|
|
{action:"line",x:"14",y:"h*0.5+10"},
|
|
{action:"close"},
|
|
{action:"move",x:"34",y:"h*0.5-10"},
|
|
{action:"line",x:"36",y:"h*0.5-10"},
|
|
{action:"line",x:"36",y:"h*0.5-8"},
|
|
{action:"line",x:"34",y:"h*0.5-8"},
|
|
{action:"close"},
|
|
{action:"move",x:"28",y:"h*0.5-10"},
|
|
{action:"line",x:"30",y:"h*0.5-10"},
|
|
{action:"line",x:"30",y:"h*0.5-8"},
|
|
{action:"line",x:"28",y:"h*0.5-8"},
|
|
{action:"close"},
|
|
{action:"move",x:"22",y:"h*0.5-10"},
|
|
{action:"line",x:"24",y:"h*0.5-10"},
|
|
{action:"line",x:"24",y:"h*0.5-8"},
|
|
{action:"line",x:"22",y:"h*0.5-8"},
|
|
{action:"close"}
|
|
]);
|
|
|
|
/***设施*/Schema.addShape({name:"installation",title:"设施",text:"设施",category:"nqms_physDeploy",props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"191,252,187",type:"solid"},
|
|
path:[
|
|
{actions:{ref:"rectangle"}},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
actions:[
|
|
{action:"move",x:"1",y:"1"},
|
|
{action:"line",x:"w-1",y:"1"},
|
|
{action:"line",x:"w-1",y:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
|
|
actions:[
|
|
{action:"move",x:"6",y:"31-6"},
|
|
{action:"line",x:"6+19",y:"31-6"},
|
|
{action:"line",x:"6+19",y:"15-4"},
|
|
{action:"line",x:"6+19-5",y:"15"},
|
|
{action:"line",x:"6+19-5",y:"15-4"},
|
|
{action:"line",x:"6+19-5*2",y:"15"},
|
|
{action:"line",x:"6+19-5*2",y:"15-4"},
|
|
{action:"line",x:"6+19-5*3",y:"15"},
|
|
{action:"line",x:"6+19-5*3",y:"15-9"},
|
|
{action:"line",x:"6",y:"15-9"},
|
|
{action:"line",x:"6",y:"6"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
/***物料*/Schema.addShape({name:"stuff",title:"物料",text:"物料",category:"nqms_physDeploy",
|
|
props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"191,252,187",type:"solid"},
|
|
path:[
|
|
{actions:{ref:"rectangle"}},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
|
|
actions:[
|
|
{action:"move",x:"1",y:"1"},
|
|
{action:"line",x:"w-1",y:"1"},
|
|
{action:"line",x:"w-1",y:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"10",y:"6"},
|
|
{action:"line",x:"10+9",y:"6"},
|
|
{action:"line",x:"10+9+9*0.5",y:"6+9*0.867"},
|
|
{action:"line",x:"10+9",y:"6+9*0.867*2"},
|
|
{action:"line",x:"10",y:"6+9*0.867*2"},
|
|
{action:"line",x:"10-9*0.5",y:"6+9*0.867"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0.7},
|
|
actions:[
|
|
{action:"move",x:"10+9/3/2",y:"6+9/3/2*1.732"},
|
|
|
|
{action:"line",x:"10-9*0.5+10/3",y:"6+9*0.867"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0.7},
|
|
actions:[
|
|
{action:"move",x:"10+9-9/3/2",y:"6+9/3/2*1.732"},
|
|
|
|
{action:"line",x:"10+9+9*0.5-10/3",y:"6+9*0.867"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
{
|
|
lineStyle:{lineWidth:0.7},
|
|
actions:[
|
|
{action:"move",x:"10+9-9/3/2",y:"6+9*0.867*2-9/3/2*1.732"},
|
|
|
|
{action:"line",x:"10+9/3/2",y:"6+9*0.867*2-9/3/2*1.732"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
/*** {
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},*/
|
|
|
|
|
|
]
|
|
});
|
|
/***位置*/Schema.addShape({name:"position",title:"位置",text:"位置",category:"nqms_physDeploy",
|
|
props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"253,236,181",type:"solid"},
|
|
path:[
|
|
{actions:{ref:"rectangle"}},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
actions:[
|
|
{action:"move",x:"1",y:"1"},
|
|
{action:"line",x:"w-1",y:"1"},
|
|
{action:"line",x:"w-1",y:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
/***
|
|
待修改
|
|
*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"9",y:"12"},
|
|
{action:"line",x:"15",y:"24"},
|
|
{action:"line",x:"21",y:"12"},
|
|
{action:"curve",x1:"20",y1:"4",x2:"10",y2:"4",x:"9",y:"12"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
/***分发网络*/Schema.addShape({name:"distributionNetwork",title:"分发网络",text:"分发网络",category:"nqms_physDeploy",props:{w:140,h:80,scaling:true},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"191,252,187",type:"solid"},
|
|
path:[
|
|
{actions:{ref:"rectangle"}},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
actions:[
|
|
{action:"move",x:"1",y:"1"},
|
|
{action:"line",x:"w-1",y:"1"},
|
|
{action:"line",x:"w-1",y:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
/*** {
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"8",y:"15"},
|
|
{action:"line",x:"11",y:"12"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"8",y:"15"},
|
|
{action:"line",x:"11",y:"18"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"10",y:"13"},
|
|
{action:"line",x:"28",y:"13"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"10",y:"17"},
|
|
{action:"line",x:"28",y:"17"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"30",y:"15"},
|
|
{action:"line",x:"27",y:"18"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"30",y:"15"},
|
|
{action:"line",x:"27",y:"12"},
|
|
]
|
|
},*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"6",y:"15"},
|
|
{action:"line",x:"9",y:"12"},
|
|
{action:"line",x:"21",y:"12"},
|
|
{action:"line",x:"24",y:"15"},
|
|
{action:"line",x:"21",y:"18"},
|
|
{action:"line",x:"9",y:"18"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"9",y:"12"},
|
|
{action:"line",x:"11",y:"10"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"9",y:"18"},
|
|
{action:"line",x:"11",y:"20"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"21",y:"12"},
|
|
{action:"line",x:"19",y:"10"},
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
|
|
actions:[
|
|
{action:"move",x:"21",y:"18"},
|
|
{action:"line",x:"19",y:"20"},
|
|
]
|
|
},
|
|
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
|
|
]
|
|
});
|
|
|
|
/***装备*/Schema.addShape({name:"equipment",title:"装备",text:"装备",category:"nqms_physDeploy",props:{w:140,h:80,scaling:true},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
|
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"191,252,187",type:"solid"},
|
|
path:[
|
|
{actions:{ref:"rectangle"}},
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
actions:[
|
|
{action:"move",x:"1",y:"1"},
|
|
{action:"line",x:"w-1",y:"1"},
|
|
{action:"line",x:"w-1",y:"31"},
|
|
{action:"line",x:"1",y:"31"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
/***
|
|
大齿轮
|
|
*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"13-8",y:"17"},
|
|
{action:"line",x:"13-8*0.924",y:"17-8*0.383"},
|
|
{action:"curve",x1:"13-5*0.924",y1:"17-5*0.383",x2:"13-5*0.707",y2:"17-5*0.707",x:"13-8*0.707",y:"17-8*0.707"},
|
|
{action:"line",x:"13-8*0.383",y:"17-8*0.924"},
|
|
{action:"curve",x1:"13-5*0.383",y1:"17-5*0.924",x2:"13",y2:"17-5",x:"13",y:"17-8"},
|
|
{action:"line",x:"13+8*0.383",y:"17-8*0.924"},
|
|
{action:"curve",x1:"13+5*0.383",y1:"17-5*0.924",x2:"13+5*0.707",y2:"17-5*0.707",x:"13+8*0.707",y:"17-8*0.707"},
|
|
{action:"line",x:"13+8*0.924",y:"17-8*0.383"},
|
|
{action:"curve",x1:"13+5*0.924",y1:"17-5*0.383",x2:"13+5",y2:"17",x:"13+8",y:"17"},
|
|
{action:"line",x:"13+8*0.924",y:"17+8*0.383"},
|
|
{action:"curve",x1:"13+5*0.924",y1:"17+5*0.383",x2:"13+5*0.707",y2:"17+5*0.707",x:"13+8*0.707",y:"17+8*0.707"},
|
|
{action:"line",x:"13+8*0.383",y:"17+8*0.924"},
|
|
{action:"curve",x1:"13+5*0.383",y1:"17+5*0.924",x2:"13",y2:"17+5",x:"13",y:"17+8"},
|
|
{action:"line",x:"13-8*0.383",y:"17+8*0.924"},
|
|
{action:"curve",x1:"13-5*0.383",y1:"17+5*0.924",x2:"13-5*0.707",y2:"17+5*0.707",x:"13-8*0.707",y:"17+8*0.707"},
|
|
{action:"line",x:"13-8*0.924",y:"17+8*0.383"},
|
|
{action:"curve",x1:"13-5*0.924",y1:"17+5*0.383",x2:"13-5",y2:"17",x:"13-8",y:"17"},
|
|
|
|
{action:"move",x:"13-3",y:"17"},
|
|
{action:"curve",x1:"13-2",y1:"14",x2:"13+2",y2:"14",x:"13+3",y:"17"},
|
|
{action:"curve",x1:"13+2",y1:"20",x2:"13-2",y2:"20",x:"13-3",y:"17"},
|
|
{action:"close"}
|
|
|
|
]
|
|
},
|
|
/***
|
|
小齿轮
|
|
*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"25-6",y:"10"},
|
|
{action:"curve",x1:"25-4",y1:"10",x2:"25-4*0.924",y2:"10-4*0.383",x:"25-6*0.924",y:"10-6*0.383"},
|
|
{action:"line",x:"25-6*0.707",y:"10-6*0.707"},
|
|
{action:"curve",x1:"25-4*0.707",y1:"10-4*0.707",x2:"25-4*0.383",y2:"10-4*0.924",x:"25-6*0.383",y:"10-6*0.924"},
|
|
{action:"line",x:"25",y:"10-6"},
|
|
{action:"curve",x1:"25",y1:"10-4",x2:"25+4*0.383",y2:"10-4*0.924",x:"25+6*0.383",y:"10-6*0.924"},
|
|
{action:"line",x:"25+6*0.707",y:"10-6*0.707"},
|
|
{action:"curve",x1:"25+4*0.707",y1:"10-4*0.707",x2:"25+4*0.924",y2:"10-4*0.383",x:"25+6*0.924",y:"10-6*0.383"},
|
|
{action:"line",x:"25+6",y:"10"},
|
|
{action:"curve",x1:"25+4",y1:"10",x2:"25+4*0.924",y2:"10+4*0.383",x:"25+6*0.924",y:"10+6*0.383"},
|
|
{action:"line",x:"25+6*0.707",y:"10+6*0.707"},
|
|
{action:"curve",x1:"25+4*0.707",y1:"10+4*0.707",x2:"25+4*0.383",y2:"10+4*0.924",x:"25+6*0.383",y:"10+6*0.924"},
|
|
{action:"line",x:"25",y:"10+6"},
|
|
{action:"curve",x1:"25",y1:"10+3",x2:"25-4*0.383",y2:"10+4*0.924",x:"25-6*0.383",y:"10+6*0.924"},
|
|
{action:"line",x:"25-6*0.707",y:"10+6*0.707"},
|
|
{action:"curve",x1:"25-4*0.707",y1:"10+4*0.707",x2:"25-4*0.924",y2:"10+4*0.383",x:"25-6*0.924",y:"10+6*0.383"},
|
|
{action:"line",x:"25-6",y:"10"},
|
|
{action:"close"},
|
|
{action:"move",x:"25-2",y:"10"},
|
|
{action:"curve",x1:"25-1",y1:"8",x2:"25+1",y2:"8",x:"25+2",y:"10"},
|
|
{action:"curve",x1:"25+1",y1:"12",x2:"25-1",y2:"12",x:"25-2",y:"10"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{color:"255,255,255"},
|
|
actions:[
|
|
{action:"move",x:"1",y:"32"},
|
|
{action:"line",x:"w-1",y:"32"},
|
|
{action:"line",x:"w-1",y:"h-1"},
|
|
{action:"line",x:"1",y:"h-1"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
{
|
|
lineStyle:{lineWidth:0},
|
|
fillStyle:{type:"none"},
|
|
actions:[
|
|
{action:"move",x:"0",y:"0"},
|
|
{action:"line",x:"w",y:"0"},
|
|
{action:"line",x:"w",y:"h"},
|
|
{action:"line",x:"0",y:"h"},
|
|
{action:"close"}
|
|
]
|
|
},
|
|
]
|
|
});
|