iscs调整

This commit is contained in:
fan 2020-01-15 14:26:25 +08:00
parent 308e0960b0
commit 699d548b84

View File

@ -26,7 +26,7 @@ export default class manualAlarmButton extends Group {
x: 0,
y: 0,
width: this.model.width,
height: this.model.width * 0.8
height: this.model.width * 1.1
},
style: {
lineWidth: 1,
@ -39,13 +39,13 @@ export default class manualAlarmButton extends Group {
z: this.model.z,
style: {
x: 0,
y: 0,
fontWeight: this.model.fontWeight || 500,
fontSize: this.model.fontSize || 14,
y: this.model.width * 2 / 5,
fontWeight: this.model.fontWeight || 300,
fontSize: this.model.fontSize || this.model.width,
fontFamily: this.model.fontFamily || 'consolas',
text: 'Y',
textStrokeWidth: this.model.textStrokeWidth,
textFill: this.model.textFill || '#000',
textFill: this.model.textFill || '#0F0',
textAlign: this.model.textAlign,
textPosition: this.model.textPosition || 'inside',
textVerticalAlign: this.model.textVerticalAlign || null,
@ -57,9 +57,9 @@ export default class manualAlarmButton extends Group {
zlevel: this.model.zlevel,
z: this.model.z,
shape: {
cx: 0,
cy: 0,
r: 10
cx: this.model.width * 2 / 3,
cy: this.model.width * 2.2 / 3,
r: this.model.width / 4
},
style: {
fill: '#0f0'
@ -70,9 +70,9 @@ export default class manualAlarmButton extends Group {
zlevel: this.model.zlevel,
z: this.model.z,
shape: {
cx: 0,
cy: 0,
r: 5
cx: this.model.width * 2 / 3,
cy: this.model.width * 2.2 / 3,
r: this.model.width / 10
},
style: {
fill: '#000'