2023-12-25 16:37:59 +08:00
|
|
|
var separatorTypeEnum;
|
|
|
|
(function (separatorTypeEnum) {
|
|
|
|
separatorTypeEnum["turnout"] = "turnout";
|
|
|
|
separatorTypeEnum["endA"] = "endA";
|
|
|
|
separatorTypeEnum["endB"] = "endB";
|
|
|
|
separatorTypeEnum["section"] = "section";
|
|
|
|
})(separatorTypeEnum || (separatorTypeEnum = {}));
|
2024-01-02 14:36:10 +08:00
|
|
|
function getSeparatorConsts() {
|
|
|
|
const separatorConsts = {
|
|
|
|
height: 12,
|
|
|
|
lineWidth: 2,
|
|
|
|
lineColor: '0x617799',
|
|
|
|
circleColor: '0xEF0200',
|
|
|
|
radius: 5,
|
|
|
|
};
|
|
|
|
return separatorConsts;
|
|
|
|
}
|
2023-12-25 16:37:59 +08:00
|
|
|
|
2024-01-02 14:36:10 +08:00
|
|
|
export { getSeparatorConsts, separatorTypeEnum };
|