26 lines
801 B
TypeScript
26 lines
801 B
TypeScript
|
import { GraphicData } from "jl-graphic";
|
||
|
import { CategoryType } from "../CategoryType";
|
||
|
export declare enum separatorTypeEnum {
|
||
|
turnout = "turnout",// 道岔分隔符
|
||
|
endA = "endA",// A端尽头分隔符
|
||
|
endB = "endB",// B端尽头分隔符
|
||
|
section = "section"
|
||
|
}
|
||
|
export interface SeparatorConstsConfig {
|
||
|
height: number;
|
||
|
lineWidth: number;
|
||
|
lineColor: string;
|
||
|
circleColor: string;
|
||
|
radius: number;
|
||
|
}
|
||
|
export declare const SeparatorConstsMap: Map<CategoryType, SeparatorConstsConfig>;
|
||
|
export interface ISeparatorData extends GraphicData {
|
||
|
get code(): string;
|
||
|
set code(v: string);
|
||
|
get separatorType(): string;
|
||
|
set separatorType(v: string);
|
||
|
clone(): ISeparatorData;
|
||
|
copyFrom(data: ISeparatorData): void;
|
||
|
eq(other: ISeparatorData): boolean;
|
||
|
}
|