kotcity4 / kotcity.ui.map / CityMapCanvas

CityMapCanvas

class CityMapCanvas : ResizableCanvas

Constructors

<init>

CityMapCanvas()

Properties

map

var map: CityMap?

mode

var mode: MapMode

visibleBlockRange

var visibleBlockRange: Pair<BlockCoordinate, BlockCoordinate>?

Functions

render

fun render(): Unit

Inherited Functions

isResizable

open fun isResizable(): Boolean

maxHeight

open fun maxHeight(width: Double): Double

maxWidth

open fun maxWidth(height: Double): Double

minHeight

open fun minHeight(width: Double): Double

minWidth

open fun minWidth(height: Double): Double

resize

open fun resize(width: Double, height: Double): Unit