height

fun height(width: Int, height: Int): Int

Returns the height based on the orientation.

Return

The height after considering the orientation.

Parameters

width

The original width of the image.

height

The original height of the image.