geoPath.d.ts 971 B

1234567891011121314151617181920
  1. import { GeoPathComposition } from '../../spec';
  2. import { ValueAttribute, ObjectAttribute, Concrete } from '../types';
  3. import { Mark } from '../mark';
  4. import { Composition, CompositionNode } from './index';
  5. type GeoPathSpec = Concrete<GeoPathComposition>;
  6. export interface GeoPath extends Mark, Composition {
  7. data: ValueAttribute<GeoPathSpec['data'], GeoPath>;
  8. coordinate: ValueAttribute<GeoPathSpec['coordinate'], GeoPath>;
  9. interaction: ObjectAttribute<GeoPathSpec['interaction'], GeoPath>;
  10. style: ObjectAttribute<GeoPathSpec['style'], GeoPath>;
  11. theme: ObjectAttribute<GeoPathSpec['theme'], GeoPath>;
  12. scale: ObjectAttribute<GeoPathSpec['scale'], GeoPath>;
  13. encode: ObjectAttribute<GeoPathSpec['encode'], GeoPath>;
  14. legend: ObjectAttribute<GeoPathSpec['legend'], GeoPath>;
  15. state: ObjectAttribute<GeoPathSpec['state'], GeoPath>;
  16. }
  17. export declare class GeoPath extends CompositionNode<GeoPathComposition> {
  18. constructor();
  19. }
  20. export {};