Class DistanceCompositeSceneSymbol.RangeCollection

java.lang.Object
com.esri.arcgisruntime.symbology.DistanceCompositeSceneSymbol.RangeCollection
All Implemented Interfaces:
ListenableList<DistanceCompositeSceneSymbol.Range>, Iterable<DistanceCompositeSceneSymbol.Range>, Collection<DistanceCompositeSceneSymbol.Range>, List<DistanceCompositeSceneSymbol.Range>, SequencedCollection<DistanceCompositeSceneSymbol.Range>, Observable, ObservableList<DistanceCompositeSceneSymbol.Range>
Enclosing class:
DistanceCompositeSceneSymbol

public static final class DistanceCompositeSceneSymbol.RangeCollection extends Object implements ListenableList<DistanceCompositeSceneSymbol.Range>
Represents a list of DistanceCompositeSceneSymbol.Ranges which link a Symbol to a minimum and maximum distance, in meters, from the SceneView's Camera which the Symbol is visible between.

Ranges in a RangeCollection can have the same minimum and maximum distance. They can also have overlapping distances, which will cause any Symbol to be displayed if SceneView's Camera is within that distance.

This class is not creatable but an instance is returned from DistanceCompositeSceneSymbol.getRangeCollection(). Adding and removing Ranges from this list can be observed by adding a listener.

Example of accessing a RangeCollection from a DistanceCompositeSceneSymbol. After accessing the RangeCollection, Ranges can be added or removed.

 
 DistanceCompositeSceneSymbol composite = new DistanceCompositeSceneSymbol();
 RangeCollection collection = composite.getRangeCollection();
 
 SimpleMarkerSymbol crossSymbol = new SimpleMarkerSymbol(Style.CROSS, 0xFF00FF00, 40);
 Range range = new Range(cross2D, 0, 2000));
 collection.add(range);
 
Since:
100.0.0
See Also: