filestack/Filelink.php
public function roundedCorners($background = 'white', $blur = 0.3, $radius = 10)
    {
        $options = [
            'b' => $background,
            'l' => $blur,
            'r' => $radius
        ];

        // call TransformationMixin function
        $this->setTransformUrl('rounded_corners', $options);

        return $this;
    }
public function roundedCorners($background = 'white', $blur = 0.3, $radius = 10)
    {
        $options = [
            'b' => $background,
            'l' => $blur,
            'r' => $radius
        ];

        // call TransformationMixin function
        $this->setTransformUrl('rounded_corners', $options);

        return $this;
    }
public function roundedCorners ( $ background = 'white' , $ blur = 0.3 , $ radius = 10 ) { $ options = [ 'b' => $ background , 'l' => $ blur , 'r' => $ radius ] ; // call TransformationMixin function $ this -> setTransformUrl ( 'rounded_corners' , $ options ) ; return $ this ; }
Set this Filelink's transform_url to include the rounded_corners task

@param string    $background     Sets the background color to display behind
the image. This can be the word for a color,
or the hex color code, e.g. ('red' or 'FF0000')
@param float     $blur           Specify the amount of blur to apply to the
rounded edges of the image. (0 - 20).
@param int       $radius         The radius of the rounded corner effect on
the image. (0-10000)

@throws FilestackException   if API call fails, e.g 404 file not found

@return Filestack/Filelink
Set this Filelink s transform_url to include the rounded_corners task