rt-graphic-component/components/packages/Separator/SeparatorConfig.js
2024-01-04 10:44:03 +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: '0xFFFFFF',
circleColor: '0xEF0200',
radius: 5,
};
return separatorConsts;
}
export { getSeparatorConsts, separatorTypeEnum };