Class Rectangle
java.lang.Object
xyz.jpenilla.squaremap.api.marker.Marker
xyz.jpenilla.squaremap.api.marker.Rectangle
Rectangle marker
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()@NonNull Pointpoint1()Get the first corner point for this rectanglevoidSet the first corner point for this rectangle@NonNull Pointpoint2()Get the second corner point for this rectanglevoidSet the second corner point for this rectanglevoidMethods 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
-
point1
Get the first corner point for this rectangle- Returns:
- point1
-
point1
Set the first corner point for this rectangle- Parameters:
point- new point
-
point2
Get the second corner point for this rectangle- Returns:
- point2
-
point2
Set the second corner point for this rectangle- Parameters:
point- new point
-
equals
-
hashCode
public int hashCode()
-