public interface Polygon
Modifier and Type | Method and Description |
---|---|
java.util.List<GeoPoint> |
getCoordinates() |
java.lang.String |
getFillColor() |
double |
getFillOpacity() |
java.lang.String |
getStrokeColor() |
double |
getStrokeOpacity() |
int |
getStrokeWeight() |
int |
getzIndex() |
boolean |
isEditable() |
boolean |
isGeodesic() |
void |
setCoordinates(java.util.List<GeoPoint> coordinates)
Sets vertices coordinates
|
void |
setEditable(boolean editable)
Sets whether polygon should be editable, which allows user to move/add/delete polygon vertices.
|
void |
setFillColor(java.lang.String fillColor)
Sets polygon fill color.
|
void |
setFillOpacity(double fillOpacity)
Sets fill opacity.
|
void |
setGeodesic(boolean geodesic)
Sets whether polygon edges should be geodesic, which means they they curve will change depending of the polygon
closeness to north/south pole.
|
void |
setStrokeColor(java.lang.String strokeColor)
Sets stroke color.
|
void |
setStrokeOpacity(double strokeOpacity)
Sets stroke opacity.
|
void |
setStrokeWeight(int strokeWeight)
Sets stroke weight in pixels.
|
void |
setzIndex(int zIndex)
Sets polygon z-index
|
void setCoordinates(java.util.List<GeoPoint> coordinates)
coordinates
- coordinatesjava.util.List<GeoPoint> getCoordinates()
void setFillColor(java.lang.String fillColor)
fillColor
- fill color in any CSS3 format except extended name colors (aquamarine, chocolate etc)java.lang.String getFillColor()
void setFillOpacity(double fillOpacity)
fillOpacity
- fill opacitydouble getFillOpacity()
void setStrokeColor(java.lang.String strokeColor)
strokeColor
- stroke color in any CSS3 format except extended name colors (aquamarine, chocolate etc)java.lang.String getStrokeColor()
void setStrokeOpacity(double strokeOpacity)
strokeOpacity
- double getStrokeOpacity()
void setStrokeWeight(int strokeWeight)
strokeWeight
- stroke weight in pixelsint getStrokeWeight()
void setzIndex(int zIndex)
zIndex
- z-indexint getzIndex()
void setGeodesic(boolean geodesic)
geodesic
- true if edges should be geodesicboolean isGeodesic()
void setEditable(boolean editable)
editable
- true if polygon should be editableboolean isEditable()