OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://drafts.fxtf.org/geometry/#dompointreadonly | 5 // https://drafts.fxtf.org/geometry/#dompointreadonly |
6 | 6 |
7 [ | 7 [ |
8 Constructor(optional unrestricted double x = 0, optional unrestricted double
y = 0, | 8 Constructor(optional unrestricted double x = 0, optional unrestricted double
y = 0, |
9 optional unrestricted double z = 0, optional unrestricted double
w = 1), | 9 optional unrestricted double z = 0, optional unrestricted double
w = 1), |
10 Exposed=(Window,Worker), | 10 Exposed=(Window,Worker), |
11 RuntimeEnabled=GeometryInterfaces, | 11 RuntimeEnabled=GeometryInterfaces, |
12 ] interface DOMPointReadOnly { | 12 ] interface DOMPointReadOnly { |
13 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other); | 13 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other); |
14 | 14 |
15 readonly attribute unrestricted double x; | 15 readonly attribute unrestricted double x; |
16 readonly attribute unrestricted double y; | 16 readonly attribute unrestricted double y; |
17 readonly attribute unrestricted double z; | 17 readonly attribute unrestricted double z; |
18 readonly attribute unrestricted double w; | 18 readonly attribute unrestricted double w; |
19 | 19 |
20 [RaisesException] DOMPoint matrixTransform(optional DOMMatrixInit matrix); | 20 [RaisesException] DOMPoint matrixTransform(optional DOMMatrixInit matrix); |
21 | 21 |
22 serializer = { attribute }; | 22 serializer = { attribute }; |
23 }; | 23 }; |
OLD | NEW |