ShadowManager.d.ts 536 B

123456789101112
  1. import Definable from './Definable';
  2. import Displayable from '../../graphic/Displayable';
  3. export default class ShadowManager extends Definable {
  4. private _shadowDomMap;
  5. private _shadowDomPool;
  6. constructor(zrId: number, svgRoot: SVGElement);
  7. private _getFromPool;
  8. update(svgElement: SVGElement, displayable: Displayable): void;
  9. remove(svgElement: SVGElement, displayable: Displayable): void;
  10. updateDom(svgElement: SVGElement, displayable: Displayable, shadowDom: SVGElement): void;
  11. removeUnused(): void;
  12. }