pad static method
- Resizes the image to fill the given width and height while retaining the original aspect ratio and with all of the original image visible.
If the proportions of the original image do not match the given width and height, padding is added to the image to reach the required size
returns Pad object
Implementation
static Pad pad() {
return Pad();
}