/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsIDOMSVGElement.idl"

interface nsIDOMSVGAnimatedLength;

[scriptable, uuid(8FE29A33-98F2-4E8E-93F8-F4DCDA4CA14E)]
interface nsIDOMSVGLineElement
  : nsIDOMSVGElement
/*
        The SVG DOM makes use of multiple interface inheritance.
        Since XPCOM only supports single interface inheritance,
        the best thing that we can do is to promise that whenever
        an object implements _this_ interface it will also
        implement the following interfaces. (We then have to QI to
        hop between them.)

    nsIDOMSVGTests,
    nsIDOMSVGLangSpace,
    nsIDOMSVGExternalResourcesRequired,
    nsIDOMSVGStylable,
    nsIDOMSVGTransformable,
    events::nsIDOMEventTarget
*/
{
  readonly attribute nsIDOMSVGAnimatedLength x1;
  readonly attribute nsIDOMSVGAnimatedLength y1;
  readonly attribute nsIDOMSVGAnimatedLength x2;
  readonly attribute nsIDOMSVGAnimatedLength y2;
};
