sdk-maps / com.tomtom.online.sdk.map / Circle

Circle

interface Circle : Overlay, MapPoint

The base interface defining a circle that can be added to the map.

Functions

getOutlineColor

abstract fun getOutlineColor(): Int

Specifies the circles outline color. The default value is {@see Color.WHITE}

getPosition

abstract fun getPosition(): LatLng

The position center of the circle overlay.

getRadius

abstract fun getRadius(): Double

The circle radius in meters. It must be greater than 0.

getWidth

abstract fun getWidth(): Float

The width of the circle in pixels.

isFill

abstract fun isFill(): Boolean

Specifies if the circle should be filled.

Inherited Functions

getColor

abstract fun getColor(): Int

Gets the color of the overlay in RGBA format.

getOpacity

abstract fun getOpacity(): Float

Gets the opacity of the overlay.