AutoGravity
class AutoGravity extends GravityQualifier
Automatically identifies the most interesting regions to include when resizing.
Learn more: Automatic gravity for images | Automatic gravity for videos
Methods
classic()
No description
subject()
No description
object(mixed $gravity)
No description
autoFocus(array|AutoGravity|ObjectGravity|string|mixed ...$fallbackGravities)
Adds fallback gravities (usually AutoGravity).
Details
static string
classic()
static string
subject()
static string
object(mixed $gravity)
AutoGravity
autoFocus(array|AutoGravity|ObjectGravity|string|mixed ...$fallbackGravities)
Adds fallback gravities (usually AutoGravity).
Constants
AUTO |
|
CLASSIC |
|
SUBJECT |
|