public final class Polygon extends BasePointCollection
dingiMap, mapView
Modifier and Type | Method and Description |
---|---|
int |
getFillColor()
Get the color of the fill region of the polygon.
|
java.util.List<java.util.List<LatLng>> |
getHoles()
Returns a copy of the holes.
|
int |
getStrokeColor()
Get the color of the stroke of the polygon.
|
void |
setFillColor(int color)
Sets the color of the fill region of the polygon.
|
void |
setHoles(java.util.List<? extends java.util.List<LatLng>> holes)
Sets the holes of this polygon.
|
void |
setStrokeColor(int color)
Sets the color of the stroke of the polygon.
|
addPoint, getAlpha, getPoints, setAlpha, setPoints
compareTo, equals, getDingiMap, getId, getMapView, hashCode, remove, setDingiMap, setId, 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.