| 
									
										
										
										
											2023-08-15 13:16:45 +02:00
										 |  |  | #import <Geometry/DOMMatrixReadOnly.idl> | 
					
						
							|  |  |  | #import <Geometry/DOMPoint.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-05 15:40:31 +01:00
										 |  |  | // https://drafts.fxtf.org/geometry/#dompointreadonly | 
					
						
							| 
									
										
										
										
											2022-10-07 16:45:09 -06:00
										 |  |  | [Exposed=(Window,Worker), Serializable] | 
					
						
							| 
									
										
										
										
											2022-07-12 20:06:50 +02:00
										 |  |  | interface DOMPointReadOnly { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-05 15:40:31 +01:00
										 |  |  |     constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, | 
					
						
							|  |  |  |                 optional unrestricted double z = 0, optional unrestricted double w = 1); | 
					
						
							| 
									
										
										
										
											2022-07-12 20:06:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-06 15:25:08 +01:00
										 |  |  |     [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {}); | 
					
						
							| 
									
										
										
										
											2022-07-12 20:06:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-05 15:40:31 +01:00
										 |  |  |     readonly attribute unrestricted double x; | 
					
						
							|  |  |  |     readonly attribute unrestricted double y; | 
					
						
							|  |  |  |     readonly attribute unrestricted double z; | 
					
						
							|  |  |  |     readonly attribute unrestricted double w; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-15 13:16:45 +02:00
										 |  |  |     [NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix = {}); | 
					
						
							| 
									
										
										
										
											2022-10-05 15:40:31 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-03-23 16:43:32 +00:00
										 |  |  |     [Default] object toJSON(); | 
					
						
							| 
									
										
										
										
											2022-07-12 20:06:50 +02:00
										 |  |  | }; | 
					
						
							| 
									
										
										
										
											2022-10-06 15:25:08 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | dictionary DOMPointInit { | 
					
						
							|  |  |  |     unrestricted double x = 0; | 
					
						
							|  |  |  |     unrestricted double y = 0; | 
					
						
							|  |  |  |     unrestricted double z = 0; | 
					
						
							|  |  |  |     unrestricted double w = 1; | 
					
						
							|  |  |  | }; |