mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:22:44 +00:00 
			
		
		
		
	 5d77a19af5
			
		
	
	
		5d77a19af5
		
	
	
	
	
		
			
			From the Web IDL spec: https://heycam.github.io/webidl/#idl-undefined [...] undefined constant values in IDL are represented with the `undefined` token. [...] Note: This value was previously spelled `void`, and more limited in how it was allowed to be used.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			928 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			928 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface CanvasRenderingContext2D {
 | |
| 
 | |
|     undefined fillRect(double x, double y, double w, double h);
 | |
|     undefined strokeRect(double x, double y, double w, double h);
 | |
| 
 | |
|     undefined scale(double x, double y);
 | |
|     undefined translate(double x, double y);
 | |
|     undefined rotate(double radians);
 | |
| 
 | |
|     undefined beginPath();
 | |
|     undefined closePath();
 | |
|     undefined fill(DOMString fillRule);
 | |
|     undefined stroke();
 | |
|     undefined moveTo(double x, double y);
 | |
|     undefined lineTo(double x, double y);
 | |
|     undefined quadraticCurveTo(double cpx, double cpy, double x, double y);
 | |
| 
 | |
|     undefined drawImage(HTMLImageElement image, double dx, double dy);
 | |
| 
 | |
|     attribute DOMString fillStyle;
 | |
|     attribute DOMString strokeStyle;
 | |
|     attribute double lineWidth;
 | |
| 
 | |
|     ImageData createImageData(double sw, double sh);
 | |
|     undefined putImageData(ImageData imagedata, double dx, double dy);
 | |
| 
 | |
|     readonly attribute HTMLCanvasElement canvas;
 | |
| 
 | |
| };
 |