17 lines
468 B
TypeScript
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;
|
|
}
|