fill static method

Fill fill()

Creates an asset with the exact given width and height without distorting the asset.

This option first scales as much as needed to at least fill both of the given dimensions. If the requested aspect ratio is different than the original, cropping will occur on the dimension that exceeds the requested size after scaling.

returns Fill object

Implementation

static Fill fill() {
  return Fill();
}