From 159b08b4911a510b77249247b177a352aa57dc94 Mon Sep 17 00:00:00 2001 From: Tim Van Dijck Date: Fri, 3 Nov 2023 11:35:19 +0100 Subject: [PATCH] Docs. --- docs/image-manipulations/resizing-images.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/image-manipulations/resizing-images.md b/docs/image-manipulations/resizing-images.md index 29728e90..78a5284e 100644 --- a/docs/image-manipulations/resizing-images.md +++ b/docs/image-manipulations/resizing-images.md @@ -112,6 +112,7 @@ Image::load('example.jpg') The `focalCrop` method can be used to crop around an exact position. The center of the crop is controlled by the `$focalX` and `$focalY` values in percent (`0` - `100`). You can also zoom into your focal point, if needed. Zoom is controlled by a floating point ranging from `1` to `100`. Each step represents a 100% zoom, so passing 2 will be the same as viewing the image at 200%. The suggested range is 1-10. + ```php $image->focalCrop(int $width, int $height, int $cropCenterX = null, $cropCenterY = null); ```