21 lines
462 B
JavaScript
21 lines
462 B
JavaScript
import Circle from 'zrender/src/graphic/shape/Circle';
|
|
|
|
/** 名称元素*/
|
|
export default function ELockRect(model) {
|
|
const TextName = new Circle({
|
|
zlevel: model.zlevel,
|
|
z: model.z + 2,
|
|
shape: {
|
|
cx: model.x,
|
|
cy: model.y,
|
|
r: 5
|
|
},
|
|
style: {
|
|
lineWidth: model.lineWidth,
|
|
stroke: model.stroke,
|
|
fill: model.fill
|
|
}
|
|
});
|
|
return TextName;
|
|
}
|