$_params
$_params : array
Valid parameters: - radius: (integer) Radius of rounded corners.
Image effect for round image corners.
This algorithm is from the phpThumb project available at http://phpthumb.sourceforge.net and all credit for this script should go to James Heinrich info@silisoftware.com. Modifications made to the code to fit it within the Horde framework and to adjust for our coding standards.
$_image : \Horde_Image
The bound Horde_Image object
setImageObject(\Horde_Image $image)
Bind this effect to a Horde_Image object.
| \Horde_Image | $image | The Horde_Image object |
factory(string $type, string $driver, array $params) : \Horde_Image_Effect
Effect factory.
| string | $type | An effect name. |
| string | $driver | An image driver name. |
| array | $params | Any effect parameters. |
An effect instance.