Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PointList Class

Namespace: id3.Document

## Definition

Represents a point list.
Python

    class PointList

Dart

    class PointList implements Finalizable

C#

    public partial class PointList

Java

    public class PointList implements AutoCloseable, Serializable

Swift

    public class PointList

C

    typedef struct id3DocumentPointList *ID3_DOCUMENT_POINT_LIST;

## Usage

Python

    pointListInstance = PointList()
    # ...

Explicit destruction

    # ...
    del pointListInstance

Dart

    final pointListInstance = sdk.PointList();
    // ...

Explicit destruction

    // ...
    pointListInstance.dispose()

C#

    using (var pointListInstance = new PointList())
    {
       // ...
    }

Explicit destruction

    var pointListInstance = new PointList()
    // ...
    pointListInstance.Dispose()

Java

    try (PointList pointListInstance = new PointList()) {
    // ...
    }

Explicit destruction

    PointList pointListInstance = new PointList();
    // ...
    pointListInstance.close();

Swift

    private var pointListInstance: PointList? = nil
    pointListInstance = try PointList()

C

    ID3_DOCUMENT_POINT_LIST hPointList{};
    int err = id3DocumentPointList_Initialize(&hPointList);
    if (err == ID3_SUCCESS) {
        // ...
        id3DocumentPointList_Dispose(&hPointList);
    }

## Properties

Name | Type | Description
--- | --- | ---
count | int | Gets the number of elements contained in the list
operator [int index] | Point | Gets or sets the element at the specified index in the list.

## Iteration

This class supports iteration in Dart, C#, Java and Python.

## Methods

Name | Description
--- | ---
add | Adds an item to the PointList object.
clear | Clears the PointList object.
clone | Clones the PointList object.
get | Gets an item of the PointList object.
getCount | Gets the number of elements in the PointList object.
removeAt | Removes an element of the PointList object.
resize | PointList object.
set | Sets an item of the PointList object.