UNPKG

914 BTypeScriptView Raw
1import Displayble from './Displayable';
2import BoundingRect from '../core/BoundingRect';
3export default class IncrementalDisplayable extends Displayble {
4 notClear: boolean;
5 incremental: boolean;
6 private _displayables;
7 private _temporaryDisplayables;
8 private _cursor;
9 traverse<T>(cb: (this: T, el: this) => void, context: T): void;
10 useStyle(): void;
11 getCursor(): number;
12 innerAfterBrush(): void;
13 clearDisplaybles(): void;
14 clearTemporalDisplayables(): void;
15 addDisplayable(displayable: Displayble, notPersistent?: boolean): void;
16 addDisplayables(displayables: Displayble[], notPersistent?: boolean): void;
17 getDisplayables(): Displayble[];
18 getTemporalDisplayables(): Displayble[];
19 eachPendingDisplayable(cb: (displayable: Displayble) => void): void;
20 update(): void;
21 getBoundingRect(): BoundingRect;
22 contain(x: number, y: number): boolean;
23}
24
\No newline at end of file