rt-graphic-component/components/Section/Section.d.ts

18 lines
479 B
TypeScript
Raw Normal View History

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;
}