java.lang.Object | |
↳ | com.google.android.gms.maps.model.PolylineOptions |
Defines options for a polyline.
For more information, read the Shapes developer guide.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a vertex to the end of the polyline being built.
| |||||||||||
Adds vertices to the end of the polyline being built.
| |||||||||||
Adds vertices to the end of the polyline being built.
| |||||||||||
Sets the color of the polyline as a 32-bit ARGB color.
| |||||||||||
Specifies whether to draw each segment of this polyline as a geodesic.
| |||||||||||
Gets the color set for this Options object.
| |||||||||||
Gets the points set for this Options object.
| |||||||||||
Gets the width set for this Options object.
| |||||||||||
Gets the zIndex set for this Options object.
| |||||||||||
Gets the geodesic setting for this Options object.
| |||||||||||
Gets the visibility setting for this Options object.
| |||||||||||
Specifies the visibility for the polyline.
| |||||||||||
Sets the width of the polyline in screen pixels.
| |||||||||||
Specifies the polyline's zIndex, i.e., the order in which it will be drawn.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
From interface
android.os.Parcelable
|
Adds a vertex to the end of the polyline being built.
PolylineOptions
object with the given point on the end.
Adds vertices to the end of the polyline being built.
PolylineOptions
object with the given points on the end.
Adds vertices to the end of the polyline being built.
PolylineOptions
object with the given points on the end.
Sets the color of the polyline as a 32-bit ARGB color. The default color is black (
0xff000000
).
PolylineOptions
object with a new color set.
Specifies whether to draw each segment of this polyline as a geodesic. The default setting is
false
PolylineOptions
object with a new geodesic setting.
Gets the color set for this Options object.
Gets the points set for this Options object.
LatLng
s specifying the vertices of the polyline.
Gets the width set for this Options object.
Gets the zIndex set for this Options object.
Gets the geodesic setting for this Options object.
true
if the polyline segments should be geodesics; false
they should
not be.
Gets the visibility setting for this Options object.
true
if the polyline is to be visible; false
if it is not.
Specifies the visibility for the polyline. The default visibility is true
.
PolylineOptions
object with a new visibility setting.
Sets the width of the polyline in screen pixels. The default is 10.
PolylineOptions
object with a new width set.
Specifies the polyline's zIndex, i.e., the order in which it will be drawn. See the documentation at the top of this class for more information about zIndex.
PolylineOptions
object with a new zIndex set.