Constructor and Description |
---|
PolylineDelegate() |
PolylineDelegate(com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline polyline) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<GeoPoint> |
getCoordinates() |
com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline |
getPolyline() |
java.lang.String |
getStrokeColor() |
double |
getStrokeOpacity() |
int |
getStrokeWeight() |
int |
getzIndex() |
int |
hashCode() |
boolean |
isGeodesic() |
void |
setCoordinates(java.util.List<GeoPoint> coordinates)
Sets polyline vertices coordinates
|
void |
setGeodesic(boolean geodesic)
Sets whether polyline lines should be geodesic, which means they they curve will change depending of the line
closeness to north/south pole.
|
void |
setPolyline(com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline polyline) |
void |
setStrokeColor(java.lang.String strokeColor)
Sets stroke color in any CSS3 format except extended name colors (aquamarine, chocolate etc).
|
void |
setStrokeOpacity(double strokeOpacity)
Sets stroke opacity.
|
void |
setStrokeWeight(int strokeWeight)
Sets stroke weight in pixels.
|
void |
setzIndex(int zIndex)
Sets z-index
|
public PolylineDelegate()
public PolylineDelegate(com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline polyline)
public com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline getPolyline()
public void setPolyline(com.vaadin.tapio.googlemaps.client.overlays.GoogleMapPolyline polyline)
public java.util.List<GeoPoint> getCoordinates()
getCoordinates
in interface Polyline
public void setCoordinates(java.util.List<GeoPoint> coordinates)
Polyline
setCoordinates
in interface Polyline
coordinates
- coordinatespublic java.lang.String getStrokeColor()
getStrokeColor
in interface Polyline
public void setStrokeColor(java.lang.String strokeColor)
Polyline
setStrokeColor
in interface Polyline
strokeColor
- stroke colorpublic double getStrokeOpacity()
getStrokeOpacity
in interface Polyline
public void setStrokeOpacity(double strokeOpacity)
Polyline
setStrokeOpacity
in interface Polyline
strokeOpacity
- stroke opacitypublic int getStrokeWeight()
getStrokeWeight
in interface Polyline
public void setStrokeWeight(int strokeWeight)
Polyline
setStrokeWeight
in interface Polyline
strokeWeight
- stroke weight in pixelspublic void setzIndex(int zIndex)
Polyline
public boolean isGeodesic()
isGeodesic
in interface Polyline
public void setGeodesic(boolean geodesic)
Polyline
setGeodesic
in interface Polyline
geodesic
- true if edges should be geodesicpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object