Interface CircleMapObject

com.yandex.mapkit.map

public interface CircleMapObject extends MapObject

All Superinterfaces:
MapObject

The circle element.

Methods

int getFillColor()

Sets the fill color.

Circle getGeometry()
int getStrokeColor()

Sets the stroke color.

float getStrokeWidth()

Sets the stroke width in units.

boolean isGeodesic()

The object's geometry can be interpreted in two different ways: 1) If the object mode is 'geodesic', the object's geometry is defined on a sphere.

void setFillColor(int fillColor)
void setGeodesic(boolean geodesic)
void setGeometry( Circle geometry)
void setStrokeColor(int strokeColor)
void setStrokeWidth(float strokeWidth)
int getFillColor()

Sets the fill color.

Circle getGeometry()
int getStrokeColor()

Sets the stroke color.

float getStrokeWidth()

Sets the stroke width in units.

boolean isGeodesic()

The object's geometry can be interpreted in two different ways: 1) If the object mode is 'geodesic', the object's geometry is defined on a sphere.

void setFillColor(int fillColor)
void setGeodesic(boolean geodesic)
void setGeometry( Circle geometry)
void setStrokeColor(int strokeColor)
void setStrokeWidth(float strokeWidth)

Method Detail

getFillColor

public int getFillColor ()

Sets the fill color.

getGeometry

public Circle getGeometry ()

getStrokeColor

public int getStrokeColor ()

Sets the stroke color.

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

getStrokeWidth

public 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.

isGeodesic

public boolean isGeodesic ()

The object's geometry can be interpreted in two different ways: 1) If the object mode is 'geodesic', the object's geometry is defined on a sphere.

2) Otherwise, the object's geometry is defined in projected space. Default: false.

setFillColor

public void setFillColor (int fillColor)

setGeodesic

public void setGeodesic (boolean geodesic)

setGeometry

public void setGeometry (Circle geometry)

setStrokeColor

public void setStrokeColor (int strokeColor)

setStrokeWidth

public void setStrokeWidth (float strokeWidth)