ClippathManager.d.ts 640 B

123456789101112131415
  1. import Definable from './Definable';
  2. import Displayable from '../../graphic/Displayable';
  3. import Path from '../../graphic/Path';
  4. export declare function hasClipPath(displayable: Displayable): boolean;
  5. export default class ClippathManager extends Definable {
  6. private _refGroups;
  7. private _keyDuplicateCount;
  8. constructor(zrId: number, svgRoot: SVGElement);
  9. markAllUnused(): void;
  10. private _getClipPathGroup;
  11. update(displayable: Displayable, prevDisplayable: Displayable): SVGElement;
  12. updateDom(parentEl: SVGElement, clipPaths: Path[]): void;
  13. markUsed(displayable: Displayable): void;
  14. removeUnused(): void;
  15. }