mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-26 02:52:35 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <HTML/CanvasRenderingContext2D.idl>
 | |
| #import <HTML/HTMLElement.idl>
 | |
| #import <WebGL/WebGLRenderingContext.idl>
 | |
| 
 | |
| typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
 | |
| 
 | |
| interface HTMLCanvasElement : HTMLElement {
 | |
| 
 | |
|     RenderingContext? getContext(DOMString contextId, optional any options = null);
 | |
|     attribute unsigned long width;
 | |
|     attribute unsigned long height;
 | |
| 
 | |
|     USVString toDataURL(optional DOMString type = "image/png", optional double quality);
 | |
| 
 | |
| };
 | 
