Region View Data
data class RegionViewData(val polygon: PolygonViewData, val holes: List<PolygonViewData>, val active: Boolean = true, val boundingBox: BoundingBoxViewData, val center: GeoLocationViewData, val zIndex: Float)
The data necessary for displaying the Region on the View.
Constructors
Link copied to clipboard
constructor(polygon: PolygonViewData, holes: List<PolygonViewData>, active: Boolean = true, boundingBox: BoundingBoxViewData, center: GeoLocationViewData, zIndex: Float)
Properties
Link copied to clipboard
the BoundingBox object encompassing the entire region (including holes).
Link copied to clipboard
the center of the BoundingBox
Link copied to clipboard
a list of Polygon objects representing interior holes that define areas excluded from the region.
Link copied to clipboard
the outermost Polygon object defining the boundary of the region.