line.d.ts 467 B

123456789101112131415161718192021222324
  1. import { ShapeComponent as SC } from '../../runtime';
  2. export type LineOptions = {
  3. /**
  4. * Whether show arrow.
  5. */
  6. arrow?: boolean;
  7. /**
  8. * Arrow size(px), default is 4px.
  9. */
  10. arrowSize?: number;
  11. /**
  12. * Fill color of arrow.
  13. */
  14. arrowFill?: string;
  15. /**
  16. * Stroke color of arrow.
  17. */
  18. arrowStroke?: string;
  19. /**
  20. * Others.
  21. */
  22. [key: string]: any;
  23. };
  24. export declare const Line: SC<LineOptions>;