rt-graphic-component/components/Separator/SeparatorConfig.js
2023-12-25 16:37:59 +08:00

27 lines
731 B
JavaScript

import { CategoryType } from '../CategoryType.js';
var separatorTypeEnum;
(function (separatorTypeEnum) {
separatorTypeEnum["turnout"] = "turnout";
separatorTypeEnum["endA"] = "endA";
separatorTypeEnum["endB"] = "endB";
separatorTypeEnum["section"] = "section";
})(separatorTypeEnum || (separatorTypeEnum = {}));
const THConsts = {
height: 12,
lineWidth: 2,
lineColor: '0xFFFFFF',
circleColor: '0xEF0200',
radius: 5,
};
const JKConsts = {
height: 12,
lineWidth: 2,
lineColor: '0x617799',
circleColor: '0xEF0200',
radius: 5,
};
const SeparatorConstsMap = new Map([[CategoryType.JK, JKConsts], [CategoryType.TH, THConsts]]);
export { SeparatorConstsMap, separatorTypeEnum };