Class Polyline
java.lang.Object
com.trimblemaps.mapsdk.annotations.Annotation
com.trimblemaps.mapsdk.annotations.BasePointCollection
com.trimblemaps.mapsdk.annotations.Polyline
- All Implemented Interfaces:
Comparable<Annotation>
Deprecated.
Use TrimbleMaps Annotation Plugin instead
Polyline is a geometry feature with an unclosed list of coordinates drawn as a line
-
Field Summary
Fields inherited from class com.trimblemaps.mapsdk.annotations.Annotation
mapView, trimbleMapsMap -
Method Summary
Methods inherited from class com.trimblemaps.mapsdk.annotations.BasePointCollection
addPoint, getAlpha, getPoints, setAlpha, setPointsMethods inherited from class com.trimblemaps.mapsdk.annotations.Annotation
compareTo, equals, getId, getMapView, getTrimbleMapsMap, hashCode, remove, setId, setMapView, setTrimbleMapsMap
-
Method Details
-
getColor
public int getColor()Deprecated.Gets the color of this polyline.- Returns:
- The color in ARGB format.
-
getWidth
public float getWidth()Deprecated.Gets the width of this polyline.- Returns:
- The width in screen pixels.
-
setColor
public void setColor(int color) Deprecated.Sets the color of the polyline.- Parameters:
color- - the color in ARGB format
-
setWidth
public void setWidth(float width) Deprecated.Sets the width of the polyline.- Parameters:
width- in pixels
-