Cluster
Overview
Cluster is a class in Aspose.PDF FOSS for Python.
Represents a cluster of data points.
This class provides 4 methods for working with Cluster objects in Python programs.
Available methods include: __init__, clone, contains, empty.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Get the number of items in the cluster. |
Methods
| Signature | Description |
|---|---|
__init__(items: list[Any] | None) | Initialize a cluster. |
empty() → Cluster | Get the singleton empty cluster instance. |
contains(item: Any) → bool | Check if the cluster contains an item. |
clone() → Cluster | Create a copy of this cluster. |