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

NameTypeAccessDescription
countintReadGet the number of items in the cluster.

Methods

SignatureDescription
__init__(items: list[Any] | None)Initialize a cluster.
empty()ClusterGet the singleton empty cluster instance.
contains(item: Any)boolCheck if the cluster contains an item.
clone()ClusterCreate a copy of this cluster.

See Also