15 lines
		
	
	
		
			459 B
		
	
	
	
		
			TypeScript
		
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			459 B
		
	
	
	
		
			TypeScript
		
	
	
| 
								 | 
							
								import Path from './Path';
							 | 
						||
| 
								 | 
							
								import PathProxy from '../core/PathProxy';
							 | 
						||
| 
								 | 
							
								export interface CompoundPathShape {
							 | 
						||
| 
								 | 
							
								    paths: Path[];
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								export default class CompoundPath extends Path {
							 | 
						||
| 
								 | 
							
								    type: string;
							 | 
						||
| 
								 | 
							
								    shape: CompoundPathShape;
							 | 
						||
| 
								 | 
							
								    private _updatePathDirty;
							 | 
						||
| 
								 | 
							
								    beforeBrush(): void;
							 | 
						||
| 
								 | 
							
								    buildPath(ctx: PathProxy | CanvasRenderingContext2D, shape: CompoundPathShape): void;
							 | 
						||
| 
								 | 
							
								    afterBrush(): void;
							 | 
						||
| 
								 | 
							
								    getBoundingRect(): import("../core/BoundingRect").default;
							 | 
						||
| 
								 | 
							
								}
							 |