PATH:
home
/
lab2454c
/
tripvare.com
/
vendor
/
cloudinary
/
cloudinary_php
/
src
/
Transformation
/
Shape
<?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; /** * Class Corners */ class Corners extends QualifierMultiValue { const MAX_ARGUMENTS = 4; use CornersTrait; /** * @var array $argumentOrder The order of the arguments. */ protected $argumentOrder = ['topLeft', 'topRight', 'bottomRight', 'bottomLeft']; /** * Corners constructor. * * @param int|string|array $topLeft Top-left corner radius. * @param int $topRight Top-right corner radius. * @param int $bottomRight Bottom-right corner radius. * @param int $bottomLeft Bottom-left corner radius. */ public function __construct($topLeft, $topRight = null, $bottomRight = null, $bottomLeft = null) { if (is_array($topLeft)) { $corners = array_pad($topLeft, 4, null); } else { $corners = [$topLeft, $topRight, $bottomRight, $bottomLeft]; } $namedValues = array_combine(['topLeft', 'topRight', 'bottomRight', 'bottomLeft'], $corners); parent::__construct($namedValues); } }
[-] CornerRadius.php
[edit]
[+]
..
[-] Shear.php
[edit]
[-] Corners.php
[edit]
[-] Distort.php
[edit]
[-] CornersTrait.php
[edit]
[-] Reshape.php
[edit]
[-] RoundCorners.php
[edit]
[-] ReshapeTrait.php
[edit]
[-] ReshapeQualifier.php
[edit]
[-] CornerRadiusQualifierTrait.php
[edit]
[-] CornerRadiusTrait.php
[edit]
[-] TrimEffect.php
[edit]
[-] CutByImage.php
[edit]