width

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

Returns the width based on the orientation.

Return

The width after considering the orientation.

Parameters

width

The original width of the image.

height

The original height of the image.