mapStyleToAttrs.d.ts 446 B

123456
  1. import Path, { PathStyleProps } from '../graphic/Path';
  2. import ZRImage, { ImageStyleProps } from '../graphic/Image';
  3. import TSpan, { TSpanStyleProps } from '../graphic/TSpan';
  4. declare type AllStyleOption = PathStyleProps | TSpanStyleProps | ImageStyleProps;
  5. export default function mapStyleToAttrs(updateAttr: (key: string, val: string | number) => void, style: AllStyleOption, el: Path | TSpan | ZRImage, forceUpdate: boolean): void;
  6. export {};