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

Polygon

interface Polygon : Overlay

A base interface defining polygon that can be added to the map.

Functions

getCoordinates

abstract fun getCoordinates(): MutableList<LatLng!>

Gets the list of the polygon corners.

getOutlineColor

abstract fun getOutlineColor(): Int

Gets the outline color of the polygon.

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.