gecko/dom/interfaces/svg/nsIDOMSVGStopElement.idl

37 lines
1.1 KiB
Plaintext
Raw Normal View History

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2012-05-21 04:12:37 -07:00
/* 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"
/**
* The nsIDOMSVGStopElement interface is the interface to an SVG
* gradient stop element.
*
* For more information on this interface please see
* http://www.w3.org/TR/SVG11/pservers.html
*
*/
interface nsIDOMSVGAnimatedNumber;
[scriptable, uuid(B3A7410B-0066-404D-9DDC-AD212D97891F)]
interface nsIDOMSVGStopElement
: 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.)
nsIDOMSVGStylable
*/
{
readonly attribute nsIDOMSVGAnimatedNumber offset;
};