IncrementalDisplayable.d.ts 914 B

1234567891011121314151617181920212223
  1. import Displayble from './Displayable';
  2. import BoundingRect from '../core/BoundingRect';
  3. export 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. }