private long rotateMapHeight(long width, long height) {
    if (rotation != null && (rotation == ROTATE_90 || rotation == ROTATE_270)) {
      return width;
    }
    else {
      return height;
    }
  }
private long rotateMapHeight ( long width , long height ) { if ( rotation != null && ( rotation == ROTATE_90 || rotation == ROTATE_270 ) ) { return width ; } else { return height ; } }
Swaps height with width if rotated 90° clock-wise or counter clock-wise
@param width Rendition width
@param height Rendition height
@return Height