CompoundPath.d.ts 459 B

1234567891011121314
  1. import Path from './Path';
  2. import PathProxy from '../core/PathProxy';
  3. export interface CompoundPathShape {
  4. paths: Path[];
  5. }
  6. export default class CompoundPath extends Path {
  7. type: string;
  8. shape: CompoundPathShape;
  9. private _updatePathDirty;
  10. beforeBrush(): void;
  11. buildPath(ctx: PathProxy | CanvasRenderingContext2D, shape: CompoundPathShape): void;
  12. afterBrush(): void;
  13. getBoundingRect(): import("../core/BoundingRect").default;
  14. }