graphic.d.ts 921 B

123456789101112
  1. import Path, { PathStyleProps } from '../graphic/Path';
  2. import ZRImage from '../graphic/Image';
  3. import TSpan from '../graphic/TSpan';
  4. import { SVGVNodeAttrs, SVGVNode, BrushScope } from './core';
  5. import Displayable from '../graphic/Displayable';
  6. export declare function brushSVGPath(el: Path, scope: BrushScope): SVGVNode;
  7. export declare function brushSVGImage(el: ZRImage, scope: BrushScope): SVGVNode;
  8. export declare function brushSVGTSpan(el: TSpan, scope: BrushScope): SVGVNode;
  9. export declare function brush(el: Displayable, scope: BrushScope): SVGVNode;
  10. export declare function setGradient(style: PathStyleProps, attrs: SVGVNodeAttrs, target: 'fill' | 'stroke', scope: BrushScope): void;
  11. export declare function setPattern(el: Displayable, attrs: SVGVNodeAttrs, target: 'fill' | 'stroke', scope: BrushScope): void;
  12. export declare function setClipPath(clipPath: Path, attrs: SVGVNodeAttrs, scope: BrushScope): void;