mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:02:44 +00:00 
			
		
		
		
	 c0494988ed
			
		
	
	
		c0494988ed
		
	
	
	
	
		
			
			This one requires drawing to the canvas, so it doesn't make so much sense to move the implementation over.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			448 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://html.spec.whatwg.org/multipage/canvas.html#canvasrect
 | |
| interface mixin CanvasRect {
 | |
|     undefined clearRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
 | |
|     undefined fillRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
 | |
|     undefined strokeRect(unrestricted double x, unrestricted double y, unrestricted double w, unrestricted double h);
 | |
| };
 |