Package com.yandex.mapkit.geometry

Class Circle

java.lang.Object
    ↳ com.yandex.mapkit.geometry.Circle

class Circle implements Serializable

A circle around the specified point.

Summary

Constructors

Signature and Description

Circle(@NonNull Point center,
       float radius)

Circle()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

Point

getCenter()
The coordinates of the center of the circle.

float

getRadius()
The radius of the circle in meters.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

Circle

Circle(@NonNull Point center,
       float radius)


Circle

Circle()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getCenter

@NonNull
Point getCenter()

The coordinates of the center of the circle.


getRadius

float getRadius()

The radius of the circle in meters.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)


Предыдущая
Следующая