2023-12-19 14:20:48 +08:00
|
|
|
import { GraphicData, JlGraphic } from 'jl-graphic';
|
|
|
|
import { IPointData } from 'pixi.js';
|
2023-12-25 13:55:02 +08:00
|
|
|
import { SectionGraphic } from './SectionGraphic';
|
2023-12-19 14:20:48 +08:00
|
|
|
export interface ISectionData extends GraphicData {
|
|
|
|
code: string;
|
|
|
|
points: IPointData[];
|
|
|
|
}
|
2023-12-25 13:55:02 +08:00
|
|
|
export interface SectionDisplayConfig {
|
|
|
|
lineColor: string;
|
|
|
|
lineWidth: number;
|
|
|
|
}
|
2023-12-19 14:20:48 +08:00
|
|
|
export declare class Section extends JlGraphic {
|
2023-12-25 13:55:02 +08:00
|
|
|
static Type: string;
|
|
|
|
lineGraphic: SectionGraphic;
|
|
|
|
constructor();
|
2023-12-19 14:20:48 +08:00
|
|
|
doRepaint(): void;
|
|
|
|
}
|