For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface SVGPointList

The SVGPointList interface represents a list of DOMPoint objects.

MDN Reference

interface SVGPointList {
    length: number;
    numberOfItems: number;
    "[iterator]"(): ArrayIterator<DOMPoint>;
    appendItem(newItem: DOMPoint): DOMPoint;
    clear(): void;
    getItem(index: number): DOMPoint;
    initialize(newItem: DOMPoint): DOMPoint;
    insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;
    removeItem(index: number): DOMPoint;
    replaceItem(newItem: DOMPoint, index: number): DOMPoint;
    [index: number]: DOMPoint;
}

Indexable

Index
length: number

The length read-only property of the SVGPointList interface returns the number of items in the list.

MDN Reference

numberOfItems: number

The numberOfItems read-only property of the SVGPointList interface returns the number of items in the list.

MDN Reference

  • The clear() method of the SVGPointList interface removes all items from the list.

    MDN Reference

    Returns void

  • The getItem() method of the SVGPointList interface gets one item from the list at the specified index.

    MDN Reference

    Parameters

    • index: number

    Returns DOMPoint

  • The insertItemBefore() method of the SVGPointList interface inserts a DOMPoint before another item in the list.

    MDN Reference

    Parameters

    Returns DOMPoint

  • The removeItem() method of the SVGPointList interface removes a DOMPoint from the list.

    MDN Reference

    Parameters

    • index: number

    Returns DOMPoint

Was this helpful?