docs: private static Dimension adaptTileDimensions(
              final Dimension pixels, final int maxWidth, final int maxHeight) {
          return new Dimension(adaptTileDimension(pixels.width, maxWidth),
                               adaptTileDimension(pixels.height, maxHeight));
      }