26 lines
792 B
TypeScript
26 lines
792 B
TypeScript
import { GraphicData } from "jl-graphic";
|
|
export declare enum separatorTypeEnum {
|
|
turnout = "turnout",// 道岔分隔符
|
|
endA = "endA",// A端尽头分隔符
|
|
endB = "endB",// B端尽头分隔符
|
|
section = "section"
|
|
}
|
|
export interface ISeparatorConsts {
|
|
height: number;
|
|
lineWidth: number;
|
|
lineColor: string;
|
|
circleColor: string;
|
|
radius: number;
|
|
}
|
|
export type UpdateSeparatorConsts = Partial<ISeparatorConsts>;
|
|
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;
|
|
}
|
|
export declare function getSeparatorConsts(): ISeparatorConsts;
|