ImmutablePointCollection QML Type

Represents an immutable collection of Points. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Methods

Detailed Description

This collection is used to represent the content of a Multipoint geometry.

Note: You cannot declare or create a component of this type in QML code.

Use the Multipoint::points property to get the collection of Points in a Multipoint geometry. ImmutablePointCollections can also be used as input parameters to initialize contents when constructing Parts and PartCollections.

Because geometries themselves are immutable, the collections they are composed of are also immutable. For geometry editing or creation workflows, a mutable PointCollection is used instead.

Property Documentation

empty : bool

Returns whether the ImmutablePointCollection contains any points (read-only).


size : int

Returns the number of points the ImmutablePointCollection contains (read-only).


spatialReference : SpatialReference

Returns the SpatialReference of the ImmutablePointCollection (read-only).


Method Documentation

int indexOf(Point point)

Gets the index of point.

Returns the index or -1 if not found.


Point point(int index)

Gets the Point at index.

Returns the Point or null if the index isn't valid.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.