rt-graphic-component/components/SpksSwitch/SpksSwitch.d.ts
2024-01-02 14:36:14 +08:00

17 lines
468 B
TypeScript

import { Graphics } from 'pixi.js';
import { GraphicData, JlGraphic, VectorText } from 'jl-graphic';
export interface ISpksSwitchData extends GraphicData {
code: string;
flip: boolean;
}
export declare class SpksSwitch extends JlGraphic {
static Type: string;
datas: ISpksSwitchData;
codeGraph: VectorText;
rectBody: Graphics;
lineBody: Graphics;
textGraph: VectorText;
constructor(datas: ISpksSwitchData);
doRepaint(): void;
}