@nextcloud/dialogs
    Preparing search index...

    Interface SVGPointList

    The SVGPointList interface represents a list of DOMPoint objects.

    MDN Reference

    interface SVGPointList {
        length: number;
        numberOfItems: number;
        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

    Properties

    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

    Methods

    • The appendItem() method of the SVGPointList interface adds a DOMPoint to the end of the list.

      MDN Reference

      Parameters

      Returns DOMPoint

    • 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 initialize() method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.

      MDN Reference

      Parameters

      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

    • The replaceItem() method of the SVGPointList interface replaces a DOMPoint in the list.

      MDN Reference

      Parameters

      Returns DOMPoint