public resizeFill ( grafika\ImageInterface &$image, integer $newWidth, integer $newHeight ) : grafika\EditorInterface | ||
$image | grafika\ImageInterface | Instance of Image. |
$newWidth | integer | Width in pixels. |
$newHeight | integer | Height in pixels. |
return | grafika\EditorInterface | An instance of Editor. |