rect.d.ts 479 B

12345678910111213141516
  1. import { ShapeComponent as SC } from '../../runtime';
  2. export type RectOptions = {
  3. /**
  4. * Minimum width of each interval.
  5. */
  6. minWidth?: number;
  7. /**
  8. * Maximum width of each interval.
  9. */
  10. maxWidth?: number;
  11. };
  12. /**
  13. * Render rect in different coordinate and using color channel for stroke and fill attribute.
  14. * The stroke attribute is valid with specified lineWidth attribute which defaults to zero.
  15. */
  16. export declare const Rect: SC<RectOptions>;