mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-26 04:22:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			914 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			914 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Geometry/DOMMatrixReadOnly.idl>
 | |
| #import <Geometry/DOMPoint.idl>
 | |
| 
 | |
| // https://drafts.fxtf.org/geometry/#dompointreadonly
 | |
| [Exposed=(Window,Worker), Serializable]
 | |
| interface DOMPointReadOnly {
 | |
| 
 | |
|     constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
 | |
|                 optional unrestricted double z = 0, optional unrestricted double w = 1);
 | |
| 
 | |
|     [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
 | |
| 
 | |
|     readonly attribute unrestricted double x;
 | |
|     readonly attribute unrestricted double y;
 | |
|     readonly attribute unrestricted double z;
 | |
|     readonly attribute unrestricted double w;
 | |
| 
 | |
|     [NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
 | |
| 
 | |
|     [Default] object toJSON();
 | |
| };
 | |
| 
 | |
| dictionary DOMPointInit {
 | |
|     unrestricted double x = 0;
 | |
|     unrestricted double y = 0;
 | |
|     unrestricted double z = 0;
 | |
|     unrestricted double w = 1;
 | |
| };
 | 
