rt-graphic-component/components/packages/Transponder/Transponder.d.ts
2024-01-03 16:43:48 +08:00

26 lines
953 B
TypeScript

import { Container, Graphics } from 'pixi.js';
import { JlGraphic, JlGraphicTemplate, VectorText } from 'jl-graphic';
import { ITransponderData, ITransponderConsts, UpdateTransponderConsts } from './TransponderConfig';
export declare class TransponderCode extends Container {
codeText: VectorText;
name: string;
constructor();
clear(): void;
paint(datas: ITransponderData): void;
}
export declare class Transponder extends JlGraphic {
static Type: string;
polygonGraphic: Graphics;
labelGraphic: TransponderCode;
constDatas: ITransponderConsts;
constructor(data?: UpdateTransponderConsts);
get datas(): ITransponderData;
clear(): void;
doRepaint(): void;
}
export declare class TransponderTemplate extends JlGraphicTemplate<Transponder> {
updataConsts: UpdateTransponderConsts | undefined;
constructor(dataTemplate: ITransponderData, data?: UpdateTransponderConsts);
new(): Transponder;
}