public abstract class BasePointCollection extends Annotation
dingiMap, mapView
Modifier | Constructor and Description |
---|---|
protected |
BasePointCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(LatLng point)
Add a point to the polyline.
|
float |
getAlpha()
Value between 0 and 1 defining the polyline alpha.
|
java.util.List<LatLng> |
getPoints()
Returns a copy of the points.
|
void |
setAlpha(float alpha)
Set this
BasePointCollection s alpha. |
void |
setPoints(java.util.List<LatLng> points)
Sets the points of this polyline.
|
compareTo, equals, getDingiMap, getId, getMapView, hashCode, remove, setDingiMap, setId, setMapView
@NonNull public java.util.List<LatLng> getPoints()
List
of points.public void setPoints(@NonNull java.util.List<LatLng> points)
points
- A List
of LatLng
points making up the polyline.public void addPoint(LatLng point)
point
- A LatLng
point to be added.public float getAlpha()
public void setAlpha(float alpha)
BasePointCollection
s alpha.alpha
- float value between 0 and 1.