You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							1.1 KiB
						
					
					
				
								import { RenderingContext2D } from '../types';
							 | 
						|
								/**
							 | 
						|
								 * Wrap rendering context to log every action.
							 | 
						|
								 * @param ctx - Rendering context.
							 | 
						|
								 * @returns Proxy logger.
							 | 
						|
								 */
							 | 
						|
								export declare function ctxLogger(ctx: RenderingContext2D): RenderingContext2D;
							 | 
						|
								/**
							 | 
						|
								 * Draw point.
							 | 
						|
								 * @param ctx - Rendering context.
							 | 
						|
								 * @param x - Point x.
							 | 
						|
								 * @param y - Point y
							 | 
						|
								 * @param radius - Point radius.
							 | 
						|
								 */
							 | 
						|
								export declare function point(ctx: RenderingContext2D, x?: number, y?: number, radius?: number): void;
							 | 
						|
								/**
							 | 
						|
								 * Draw triangle to vizualize angle.
							 | 
						|
								 * @param ctx - Rendering context.
							 | 
						|
								 * @param x - Angle x.
							 | 
						|
								 * @param y - Angle y.
							 | 
						|
								 * @param size - Triangle size.
							 | 
						|
								 */
							 | 
						|
								export declare function angle(ctx: RenderingContext2D, x?: number, y?: number, size?: number): void;
							 | 
						|
								/**
							 | 
						|
								 * Draw triangle to vizualize angle.
							 | 
						|
								 * @param ctx - Rendering context.
							 | 
						|
								 * @param x - Angle x.
							 | 
						|
								 * @param y - Angle y.
							 | 
						|
								 * @param width
							 | 
						|
								 * @param height
							 | 
						|
								 */
							 | 
						|
								export declare function box(ctx: RenderingContext2D, x: number, y: number, width: number, height: number): void;
							 | 
						|
								//# sourceMappingURL=debug.d.ts.map
							 |