src/Manipulators/Border.php
public function runExpand(Image $image, $width, $color)
    {
        return $image->resizeCanvas(
            $width * 2,
            $width * 2,
            'center',
            true,
            $color
        );
    }
public function runExpand(Image $image, $width, $color)
    {
        return $image->resizeCanvas(
            $width * 2,
            $width * 2,
            'center',
            true,
            $color
        );
    }
public function runExpand ( Image $ image , $ width , $ color ) { return $ image -> resizeCanvas ( $ width * 2 , $ width * 2 , 'center' , true , $ color ) ; }
Run the expand border method.
@param  Image  $image The source image.
@param  double $width The border width.
@param  string $color The border color.
@return Image  The manipulated image.
Run the expand border method .