PatternManager.d.ts 544 B

1234567891011
  1. import Definable from './Definable';
  2. import Displayable from '../../graphic/Displayable';
  3. import { PatternObject } from '../../graphic/Pattern';
  4. export default class PatternManager extends Definable {
  5. constructor(zrId: number, svgRoot: SVGElement);
  6. addWithoutUpdate(svgElement: SVGElement, displayable: Displayable): void;
  7. add(pattern: PatternObject): SVGElement;
  8. update(pattern: PatternObject | string): void;
  9. updateDom(pattern: PatternObject, patternDom: SVGElement): void;
  10. markUsed(displayable: Displayable): void;
  11. }