GradientManager.d.ts 546 B

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