@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.
|
java.util.List<java.util.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(java.util.List<? extends java.util.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 java.util.List<java.util.List<LatLng>> getHoles()
List
of List
of LatLng
points making up the holes.public void setFillColor(int color)
color
- The color in ARGB format.public void setStrokeColor(int color)
color
- The color in ARGB format.public void setHoles(@NonNull java.util.List<? extends java.util.List<LatLng>> holes)
holes
- A List
of List
of LatLng
points making up the holes.