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

17 lines
468 B
TypeScript
Raw Normal View History

2024-01-02 14:36:10 +08:00
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;
}