rt-graphic-component/components/packages/Separator/Separator.d.ts
2024-01-03 16:43:48 +08:00

24 lines
780 B
TypeScript

import { Graphics } from 'pixi.js';
import { JlGraphic, JlGraphicTemplate } from 'jl-graphic';
import { ISeparatorConsts, ISeparatorData, UpdateSeparatorConsts } from './SeparatorConfig';
/**
* 分隔符
* @param {UpdateSeparatorConsts}常量数据
*
*/
export declare class Separator extends JlGraphic {
static Type: string;
rectGraphic: Graphics;
circleGraphic: Graphics;
constDatas: ISeparatorConsts;
constructor(data?: UpdateSeparatorConsts);
get datas(): ISeparatorData;
clear(): void;
doRepaint(): void;
}
export declare class SeparatorTemplate extends JlGraphicTemplate<Separator> {
updataConsts: UpdateSeparatorConsts | undefined;
constructor(dataTemplate: ISeparatorData, data?: UpdateSeparatorConsts);
new(): Separator;
}