fit static method

Fit fit()

The image is resized so that it takes up as much space as possible within a bounding box defined by the given width and height qualifiers. The original aspect ratio is retained and all of the original image is visible.

returns Fit object.

Implementation

static Fit fit() {
  return Fit();
}