Class Circle

com.yandex.mapkit.geometry

java.lang.Object ⇽ Circle

public class Circle

A circle around the specified point.

Constructors

Circle(@NonNull Point center, float radius)
Circle()

Use constructor with parameters in your code.

Methods

Point getCenter()

The coordinates of the center of the circle.

float getRadius()

The radius of the circle in meters.

void serialize(Archive archive)

Constructor Detail

Circle

public Circle (@NonNull Point center, float radius)

Circle

public Circle ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getCenter

public Point getCenter ()

The coordinates of the center of the circle.

getRadius

public float getRadius ()

The radius of the circle in meters.

serialize

public void serialize (Archive archive)