PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
cloudinary
/
cloudinary_php
/
src
/
Transformation
/
Positioning
/
Gravity
<?php /** * This file is part of the Cloudinary PHP package. * * (c) Cloudinary * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Cloudinary\Transformation; use Cloudinary\ClassUtils; /** * Trait GravityQualifierTrait * * @api */ trait GravityQualifierTrait { /** * Determines which part of the image to keep when any part of the image is cropped. For overlays, this setting * determines where to place the overlay. * * @param mixed $gravity The area of the image. Use the constants defined in any of the classes that extend * GravityQualifier, such as CompassGravity or ObjectGravity. * * @return GravityQualifier */ public static function gravity($gravity) { return ClassUtils::verifyInstance($gravity, GravityQualifier::class); } }
[+]
..
[-] Gravity.php
[edit]
[-] CompassGravityBuilderTrait.php
[edit]
[+]
ObjectGravity
[-] FocalGravity.php
[edit]
[-] AutoGravity.php
[edit]
[-] LiquidRescaling.php
[edit]
[-] FocalGravityInterface.php
[edit]
[-] FocalGravityBuilderTrait.php
[edit]
[-] AutoGravityBuilderTrait.php
[edit]
[-] Compass.php
[edit]
[-] AutoGravityObject.php
[edit]
[-] CompassGravity.php
[edit]
[-] GravityQualifierTrait.php
[edit]
[-] GravityQualifier.php
[edit]