sizeForContainer
private fun ZoomableImageSource.sizeForContainer(containerSize: IntSize, fitToWidth: Boolean): ImageContentSize(source)
Executes the sizeForContainer step in the SDAI presentation layer.
Return
Result produced by sizeForContainer.
Author
Dmitriy Moroz
Parameters
containerSize
container size value consumed by the API.
fitToWidth
fit to width value consumed by the API.