setConstrainMode

abstract fun setConstrainMode(mode: ConstrainMode)

Sets the map `constrain mode`.