276eb8271cde31f3f9db65ad2586d5bd44542c27976ea606806bebe525eea4ba65b6f8dbf41dc2470d12e3eb7072807dd0a90be66cb38159e3588ed82e102a 701 B

12345678910
  1. import Model from '../Model.js';
  2. import { ItemStyleOption } from '../../util/types.js';
  3. import { PathStyleProps } from 'zrender/lib/graphic/Path.js';
  4. export declare const ITEM_STYLE_KEY_MAP: string[][];
  5. declare type ItemStyleKeys = 'fill' | 'stroke' | 'decal' | 'lineWidth' | 'opacity' | 'shadowBlur' | 'shadowOffsetX' | 'shadowOffsetY' | 'shadowColor' | 'lineDash' | 'lineDashOffset' | 'lineCap' | 'lineJoin' | 'miterLimit';
  6. export declare type ItemStyleProps = Pick<PathStyleProps, ItemStyleKeys>;
  7. declare class ItemStyleMixin {
  8. getItemStyle(this: Model, excludes?: readonly (keyof ItemStyleOption)[], includes?: readonly (keyof ItemStyleOption)[]): ItemStyleProps;
  9. }
  10. export { ItemStyleMixin };