rt-graphic-component/components/Separator/SeparatorConfig.js
2024-01-02 14:36:14 +08:00

20 lines
553 B
JavaScript

var separatorTypeEnum;
(function (separatorTypeEnum) {
separatorTypeEnum["turnout"] = "turnout";
separatorTypeEnum["endA"] = "endA";
separatorTypeEnum["endB"] = "endB";
separatorTypeEnum["section"] = "section";
})(separatorTypeEnum || (separatorTypeEnum = {}));
function getSeparatorConsts() {
const separatorConsts = {
height: 12,
lineWidth: 2,
lineColor: '0x617799',
circleColor: '0xEF0200',
radius: 5,
};
return separatorConsts;
}
export { getSeparatorConsts, separatorTypeEnum };