Package com.yandex.mapkit.map

Interface CircleMapObject

All Superinterfaces:

MapObject

interface CircleMapObject extends MapObject

The circle element.

Summary

Methods

Type and modifiers

Method and Description

Circle

getGeometry()

void

setGeometry(@NonNull Circle geometry)

int

getStrokeColor()
Sets the stroke color.

void

setStrokeColor(int strokeColor)

float

getStrokeWidth()
Sets the stroke width in units.

void

setStrokeWidth(float strokeWidth)

int

getFillColor()
Sets the fill color.

void

setFillColor(int fillColor)

boolean

isGeodesic()
The object's geometry can be interpreted in two different ways:

  • If the object mode is 'geodesic', the object's geometry is defined on a sphere.
  • Otherwise, the object's geometry is defined in projected space.
Default: false.

void

setGeodesic(boolean geodesic)

Methods

getGeometry

@NonNull
Circle getGeometry()


setGeometry

void setGeometry(@NonNull Circle geometry)


getStrokeColor

int getStrokeColor()

Sets the stroke color.

Setting the stroke color to any transparent color (for example, RGBA code 0x00000000) effectively disables the stroke. default: 0x0066FFFF


setStrokeColor

void setStrokeColor(int strokeColor)


getStrokeWidth

float getStrokeWidth()

Sets the stroke width in units.

The size of a unit is equal to the size of a pixel at the current zoom level when the camera position's tilt is equal to 0 and the scale factor is equal to 1. default: 5


setStrokeWidth

void setStrokeWidth(float strokeWidth)


getFillColor

int getFillColor()

Sets the fill color.

default: 0x0066FF99


setFillColor

void setFillColor(int fillColor)


isGeodesic

boolean isGeodesic()

The object's geometry can be interpreted in two different ways:

  • If the object mode is 'geodesic', the object's geometry is defined on a sphere.
  • Otherwise, the object's geometry is defined in projected space.
Default: false.


setGeodesic

void setGeodesic(boolean geodesic)


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