scale static method

Scale scale()

Change the size of the image exactly to the given width and height without necessarily retaining the original aspect ratio: all original image parts are visible but might be stretched or shrunk.

returns Scale object.

Implementation

static Scale scale() {
  return Scale();
}