36 lines
960 B
TypeScript
36 lines
960 B
TypeScript
import { Graphics } from 'pixi.js';
|
|
import { GraphicData, GraphicState, JlGraphic, VectorText } from 'jl-graphic';
|
|
export interface IZdwxEsbData extends GraphicData {
|
|
get code(): string;
|
|
set code(v: string);
|
|
get flip(): boolean;
|
|
set flip(v: boolean);
|
|
}
|
|
export interface IZdwxEsbState extends GraphicState {
|
|
id: number;
|
|
get down(): boolean;
|
|
set down(v: boolean);
|
|
}
|
|
export declare const zdwxEsbConsts: {
|
|
codeFontSize: number;
|
|
codeColor: number;
|
|
bodyLineColor: number;
|
|
lineWidth: number;
|
|
bodyRectLineColor: number;
|
|
bodyRectLineWidth: number;
|
|
bodyRectWidth: number;
|
|
bodyRectHeight: number;
|
|
bodyCircleRadius: number;
|
|
bodyColor: number;
|
|
rectOffset: number;
|
|
};
|
|
export declare class ZdwxEsb extends JlGraphic {
|
|
static Type: string;
|
|
codeGraph: VectorText;
|
|
circleBody: Graphics;
|
|
constructor();
|
|
get datas(): IZdwxEsbData;
|
|
get state(): IZdwxEsbState;
|
|
doRepaint(): void;
|
|
}
|