filestack/Filelink.php
public function polaroid($background = 'white', $color = 'snow', $rotate = 45)
    {
        $options = [
            'b' => $background,
            'c' => $color,
            'r' => $rotate
        ];

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

        return $this;
    }
public function polaroid($background = 'white', $color = 'snow', $rotate = 45)
    {
        $options = [
            'b' => $background,
            'c' => $color,
            'r' => $rotate
        ];

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

        return $this;
    }
public function polaroid ( $ background = 'white' , $ color = 'snow' , $ rotate = 45 ) { $ options = [ 'b' => $ background , 'c' => $ color , 'r' => $ rotate ] ; // call TransformationMixin function $ this -> setTransformUrl ( 'polaroid' , $ options ) ; return $ this ; }
Set this Filelink's transform_url to include the polaroid 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, ('red' or 'FF0000')
@param string    $color          Sets the polaroid frame color. This can be
a word or the hex value ('red' or 'FF0000')
@param int       $rotate         Degree by which to rotate the image clockwise.
Range is 0 to 359.

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

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