Blame view

node_modules/zrender/lib/svg-legacy/helper/ClippathManager.d.ts 640 Bytes
bd028579   易尊强   2/28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  import Definable from './Definable';
  import Displayable from '../../graphic/Displayable';
  import Path from '../../graphic/Path';
  export declare function hasClipPath(displayable: Displayable): boolean;
  export default class ClippathManager extends Definable {
      private _refGroups;
      private _keyDuplicateCount;
      constructor(zrId: number, svgRoot: SVGElement);
      markAllUnused(): void;
      private _getClipPathGroup;
      update(displayable: Displayable, prevDisplayable: Displayable): SVGElement;
      updateDom(parentEl: SVGElement, clipPaths: Path[]): void;
      markUsed(displayable: Displayable): void;
      removeUnused(): void;
  }