2007-03-22 10:30:00 -07:00
|
|
|
/* -*- 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/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
|
|
|
|
interface nsIDOMSVGPoint;
|
|
|
|
|
2012-10-13 05:50:24 -07:00
|
|
|
[scriptable, uuid(1cc66e7d-c874-4429-9f73-a0e5f2c77a85)]
|
2007-03-22 10:30:00 -07:00
|
|
|
interface nsIDOMSVGPointList : nsISupports
|
|
|
|
{
|
|
|
|
readonly attribute unsigned long numberOfItems;
|
2011-04-07 15:44:03 -07:00
|
|
|
readonly attribute unsigned long length; // synonym for numberOfItems
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
void clear();
|
|
|
|
// raises( DOMException );
|
|
|
|
nsIDOMSVGPoint initialize(in nsIDOMSVGPoint newItem);
|
|
|
|
// raises( DOMException, SVGException );
|
|
|
|
nsIDOMSVGPoint getItem (in unsigned long index);
|
|
|
|
// raises( DOMException );
|
|
|
|
nsIDOMSVGPoint insertItemBefore(in nsIDOMSVGPoint newItem, in unsigned long index);
|
|
|
|
// raises( DOMException, SVGException );
|
|
|
|
nsIDOMSVGPoint replaceItem(in nsIDOMSVGPoint newItem, in unsigned long index);
|
|
|
|
// raises( DOMException, SVGException );
|
|
|
|
nsIDOMSVGPoint removeItem(in unsigned long index);
|
|
|
|
// raises( DOMException );
|
|
|
|
nsIDOMSVGPoint appendItem(in nsIDOMSVGPoint newItem);
|
|
|
|
// raises( DOMException, SVGException );
|
|
|
|
};
|