Blame view

node_modules/zrender/lib/svg/graphic.d.ts 921 Bytes
bd028579   易尊强   2/28
1
2
3
4
5
6
7
8
9
10
11
12
  import Path, { PathStyleProps } from '../graphic/Path';
  import ZRImage from '../graphic/Image';
  import TSpan from '../graphic/TSpan';
  import { SVGVNodeAttrs, SVGVNode, BrushScope } from './core';
  import Displayable from '../graphic/Displayable';
  export declare function brushSVGPath(el: Path, scope: BrushScope): SVGVNode;
  export declare function brushSVGImage(el: ZRImage, scope: BrushScope): SVGVNode;
  export declare function brushSVGTSpan(el: TSpan, scope: BrushScope): SVGVNode;
  export declare function brush(el: Displayable, scope: BrushScope): SVGVNode;
  export declare function setGradient(style: PathStyleProps, attrs: SVGVNodeAttrs, target: 'fill' | 'stroke', scope: BrushScope): void;
  export declare function setPattern(el: Displayable, attrs: SVGVNodeAttrs, target: 'fill' | 'stroke', scope: BrushScope): void;
  export declare function setClipPath(clipPath: Path, attrs: SVGVNodeAttrs, scope: BrushScope): void;