def get_orientation(width, height):
    # type: (int, int) -> Orientation
    """Get viewport orientation from given width and height.

    :type width: int
    :type height: int
    :return: viewport orientation enum
    :rtype: Orientation
    """
    if width > height:
        return Orientation.LANDSCAPE
    elif width < height:
        return Orientation.PORTRAIT
    else:
        return Orientation.EQUAL
Get viewport orientation from given width and height.

    :type width: int
    :type height: int
    :return: viewport orientation enum
    :rtype: Orientation