graphic.d.ts 379 B

123456789101112
  1. import Path from '../graphic/Path';
  2. import ZRImage from '../graphic/Image';
  3. import TSpan from '../graphic/TSpan';
  4. export interface SVGProxy<T> {
  5. brush(el: T): void;
  6. }
  7. declare const svgPath: SVGProxy<Path>;
  8. export { svgPath as path };
  9. declare const svgImage: SVGProxy<ZRImage>;
  10. export { svgImage as image };
  11. declare const svgText: SVGProxy<TSpan>;
  12. export { svgText as text };