Represents an immutable collection of Points that compose an immutable Multipoint geometry. More...
|Import Statement:||import Esri.ArcGISRuntime 100.7|
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.
Returns whether the ImmutablePointCollection contains any points (read-only).
Returns the number of points the ImmutablePointCollection contains (read-only).
spatialReference : SpatialReference
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.