@Deprecated public final class Polygon extends BasePointCollection
mapboxMap, mapView
Modifier and Type | Method and Description |
---|---|
int |
getFillColor()
Deprecated.
Get the color of the fill region of the polygon.
|
List<List<LatLng>> |
getHoles()
Deprecated.
Returns a copy of the holes.
|
int |
getStrokeColor()
Deprecated.
Get the color of the stroke of the polygon.
|
void |
setFillColor(int color)
Deprecated.
Sets the color of the fill region of the polygon.
|
void |
setHoles(List<? extends List<LatLng>> holes)
Deprecated.
Sets the holes of this polygon.
|
void |
setStrokeColor(int color)
Deprecated.
Sets the color of the stroke of the polygon.
|
addPoint, getAlpha, getPoints, setAlpha, setPoints
compareTo, equals, getId, getMapboxMap, getMapView, hashCode, remove, setId, setMapboxMap, setMapView
public int getFillColor()
public int getStrokeColor()
public void setFillColor(int color)
color
- The color in ARGB format.public void setStrokeColor(int color)
color
- The color in ARGB format.© 2015–2019 Mapbox. All rights reserved.