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 3// found in the LICENSE file. 4 5[ 6 Constructor(optional DOMPointInit point), 7 Constructor(unrestricted double x, unrestricted double y, 8 optional unrestricted double z = 0, optional unrestricted double w = 1), 9 RuntimeEnabled=GeometryInterfaces, 10] interface DOMPoint : DOMPointReadOnly { 11 attribute unrestricted double x; 12 attribute unrestricted double y; 13 attribute unrestricted double z; 14 attribute unrestricted double w; 15}; 16