coerceInBounds
private fun Float.coerceInBounds(containerSize: Float, contentSize: Float, scale: Float): Float(source)
Executes the coerceInBounds step in the SDAI presentation layer.
Return
Result produced by coerceInBounds.
Author
Dmitriy Moroz
Parameters
containerSize
container size value consumed by the API.
contentSize
content size value consumed by the API.
scale
scale value consumed by the API.