project/node_modules/zrender/lib/graphic/IncrementalDisplayable.d.ts

24 lines
914 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
import Displayble from './Displayable';
import BoundingRect from '../core/BoundingRect';
export default class IncrementalDisplayable extends Displayble {
notClear: boolean;
incremental: boolean;
private _displayables;
private _temporaryDisplayables;
private _cursor;
traverse<T>(cb: (this: T, el: this) => void, context: T): void;
useStyle(): void;
getCursor(): number;
innerAfterBrush(): void;
clearDisplaybles(): void;
clearTemporalDisplayables(): void;
addDisplayable(displayable: Displayble, notPersistent?: boolean): void;
addDisplayables(displayables: Displayble[], notPersistent?: boolean): void;
getDisplayables(): Displayble[];
getTemporalDisplayables(): Displayble[];
eachPendingDisplayable(cb: (displayable: Displayble) => void): void;
update(): void;
getBoundingRect(): BoundingRect;
contain(x: number, y: number): boolean;
}