Class Polyline
java.lang.Object
xyz.jpenilla.squaremap.api.marker.Marker
xyz.jpenilla.squaremap.api.marker.Polyline
Polyline marker, used to draw any number of lines
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidmultiPoints(@NonNull List<List<Point>> points) Set a new list of lines for this multilinefinal voidmultiPoints(@NonNull List<Point> @NonNull ... points) Set a new list of lines for this multilinepoints()Get the points that make up this polyline.voidSet a new list of points for this linevoidSet a new list of points for this lineMethods inherited from class xyz.jpenilla.squaremap.api.marker.Marker
circle, ellipse, icon, icon, icon, markerOptions, markerOptions, markerOptions, markerOptionsMatch, multiPolygon, multiPolygon, multiPolyline, multiPolyline, polygon, polygon, polygon, polygon, polyline, polyline, rectangle
-
Method Details
-
points
Get the points that make up this polyline. The inner lists each represent a line, with the outer list being the list of lines. If only a single line is represented by this polyline, the outer list will only have one element.- Returns:
- points
-
points
Set a new list of points for this line- Parameters:
points- new points
-
points
Set a new list of points for this line- Parameters:
points- new points
-
multiPoints
Set a new list of lines for this multiline- Parameters:
points- new points
-
multiPoints
Set a new list of lines for this multiline- Parameters:
points- new points
-
equals
-
hashCode
public int hashCode()
-