lines.d.ts 567 B

12345678910111213141516
  1. import type { BaseStyleProps, PathStyleProps } from '../../shapes';
  2. import { DisplayObject } from '../../shapes';
  3. export interface LinesStyleProps extends BaseStyleProps {
  4. lines: PathStyleProps[];
  5. areas: PathStyleProps[];
  6. }
  7. export declare class Lines extends DisplayObject<LinesStyleProps> {
  8. private linesGroup;
  9. private areasGroup;
  10. constructor({ style, ...rest }: Partial<DisplayObject<LinesStyleProps>>);
  11. render(): void;
  12. clear(): void;
  13. update(attr: Partial<LinesStyleProps>): void;
  14. private renderLines;
  15. private renderAreas;
  16. }