列车绘图代码调整

This commit is contained in:
joylink_cuiweidong 2020-03-25 18:34:43 +08:00
parent a2875baa19
commit 8c01b4129f
2 changed files with 1 additions and 18 deletions

View File

@ -553,6 +553,7 @@ class SkinCode extends defaultStyle {
textAContent: 'A'// textA文本
},
trainNumber: {
targetCodePrefix: '000', // 目的地码前缀
trainNumberOffset: { x: 0, y: 1 }// 目的地码偏移量
},
trainServer: {

View File

@ -73,24 +73,6 @@ class EMouse extends Group {
this.add(this.trainBorder);
this.trainBorder.hide();
}
// debugger;
// // const data = this.getBoundingRect();
// const rect = this.device.getBoundingRect();
// // this.trainBorder = new Rect({
// // zlevel: this.device.model.zlevel,
// // z: this.device.z,
// // silent: true,
// // shape: Object.assign({ r: 4 }, rect),
// // style: {
// // lineDash: [3, 3],
// // stroke: this.device.style.Train.mouseOverStyle.borderColor,
// // fill: this.device.style.transparentColor
// // }
// // });
// // this.add(this.trainBorder);
// // this.trainBorder.hide();
// }
}
mouseover() {