Class Ellipse
- All Implemented Interfaces:
JsonSerializable
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ellipse.Create a new ellipse.Create a new ellipse.Create a new ellipse.Create a new ellipse.Create a new ellipse.Create a new ellipse.Create a new ellipse. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic EllipsefromJson(com.google.gson.JsonObject obj) Get the centerPointof this ellipse.Get the radius for this ellipse.@Nullable DoublegetTilt()Get the tilt of this ellipse, in degrees.inthashCode()static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.static EllipseCreate a new ellipse.Set a new centerPointfor this ellipse.Set a new radius for this ellipse.Set the tilt of this ellipse, in degrees.com.google.gson.JsonObjecttoJson()Jsonify this object.toString()Methods inherited from class Marker
circle, circle, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, ellipse, getOptions, getPane, getType, icon, icon, icon, icon, icon, icon, icon, multiPolygon, multiPolygon, multiPolygon, multiPolyline, multiPolyline, multiPolyline, polygon, polygon, polygon, polyline, polyline, polyline, rectangle, rectangle, setOptions, setOptions, setPane
-
Constructor Details
-
Ellipse
Create a new ellipse.- Parameters:
key- identifying keycenterX- center x locationcenterZ- center z locationradiusX- x radiusradiusZ- z radius
-
Ellipse
-
Ellipse
-
Ellipse
-
Ellipse
public Ellipse(String key, double centerX, double centerZ, double radiusX, double radiusZ, double tilt) Create a new ellipse.- Parameters:
key- identifying keycenterX- center x locationcenterZ- center z locationradiusX- x radiusradiusZ- z radiustilt- tilt
-
Ellipse
-
Ellipse
-
Ellipse
-
-
Method Details
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
getCenter
-
setCenter
-
getRadius
-
setRadius
-
getTilt
Get the tilt of this ellipse, in degrees.Defaults to '
0' if null.- Returns:
- tilt
-
setTilt
-
toJson
public com.google.gson.JsonObject toJson()Description copied from interface:JsonSerializableJsonify this object.- Returns:
- object as json element
-
fromJson
-
equals
-
hashCode
-
toString
-