26 lines
953 B
TypeScript
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;
|
|
}
|