PATH:
home
/
lab2454c
/
healthvalidate.com
/
vendor
/
cloudinary
/
cloudinary_php
/
src
/
Transformation
/
Rotation
<?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\Argument; /** * Trait AngleTrait * * @api */ trait RotationModeTrait { /** * Rotate image 90 degrees clockwise only if the requested aspect ratio does not match the image's aspect ratio. * * @return static */ public static function autoRight() { return static::createWithMode(RotationMode::AUTO_RIGHT); } /** * Rotate image 90 degrees counterclockwise only if the requested aspect ratio does not match the image's aspect * ratio. * * @return static */ public static function autoLeft() { return static::createWithMode(RotationMode::AUTO_LEFT); } /** * Vertical mirror flip of the image. * * @return static */ public static function verticalFlip() { return static::createWithMode(RotationMode::VERTICAL_FLIP); } /** * Horizontal mirror flip of the image. * * @return static */ public static function horizontalFlip() { return static::createWithMode(RotationMode::HORIZONTAL_FLIP); } /** * By default, the image is automatically rotated according to the EXIF data stored by the camera when the image * was taken. Set the angle to 'ignore' if you do not want the image to be automatically rotated. * * @return static */ public static function ignore() { return static::createWithMode(RotationMode::IGNORE); } /** * Rotate an image using the given mode. * * @param string|RotationMode|array $mode Given rotation mode. * * @return static */ public static function mode(...$mode) { return static::createWithMode(...$mode); } /** * Creates the instance. * * @param string|RotationMode|array $mode Given mode. * * @return static * * @internal */ protected static function createWithMode(...$mode) { return new static(...$mode); } }
[-] AngleQualifierTrait.php
[edit]
[-] Angle.php
[edit]
[+]
..
[-] RotationModeTrait.php
[edit]
[-] Rotate.php
[edit]
[-] AngleTrait.php
[edit]
[-] RotationMode.php
[edit]
[-] Degree.php
[edit]