rt-graphic-component/components/packages/EsbButton/ThEsbButton.d.ts
joylink_zhaoerwei 352025daf8 计轴
2024-01-04 10:40:55 +08:00

25 lines
684 B
TypeScript

import { Graphics } from 'pixi.js';
import { GraphicData, GraphicState, JlGraphic, VectorText } from 'jl-graphic';
export interface IEsbButtonData extends GraphicData {
get code(): string;
set code(v: string);
get flip(): boolean;
set flip(v: boolean);
}
export interface IEsbButtonState extends GraphicState {
id: number;
get down(): boolean;
set down(v: boolean);
}
export declare class EsbButton extends JlGraphic {
static Type: string;
codeGraph: VectorText;
circleBody: Graphics;
rectBody: Graphics;
lineBody: Graphics;
constructor();
get datas(): IEsbButtonData;
get state(): IEsbButtonState;
doRepaint(): void;
}