24 lines
780 B
TypeScript
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;
|
||
|
}
|