-
- All Implemented Interfaces:
public interface ShapesController
Interface for managing API fed shapes Copyright reserved by telenav 2021.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ShapesController.Id
Id class to use as a unique identifier for processed shape collections
-
Method Summary
Modifier and Type Method Description abstract ShapesController.Id
add(@NonNull() Shape.Collection collection)
Add a shape collection to the MapView abstract void
remove(@NonNull() ShapesController.Id collectionId)
Remove a shape collection from the MapView abstract void
setAlphaValue(@NonNull() ShapesController.Id collectionId, float alpha)
Set the alpha value of a shape collection -
-
Method Detail
-
add
@Nullable() abstract ShapesController.Id add(@NonNull() Shape.Collection collection)
Add a shape collection to the MapView
- Parameters:
collection
- the collection of shapes to be added
-
remove
abstract void remove(@NonNull() ShapesController.Id collectionId)
Remove a shape collection from the MapView
- Parameters:
collectionId
- the Id of the processed collection
-
setAlphaValue
abstract void setAlphaValue(@NonNull() ShapesController.Id collectionId, float alpha)
Set the alpha value of a shape collection
- Parameters:
collectionId
- the Id of the processed collectionalpha
- the alpha value to render the shape collection.
-
-
-
-