Class Horde_Image_Effect_gd_round_corners

Description

Image effect for round image corners.

$Horde: framework/Image/Image/Effect/gd/round_corners.php,v 1.6.2.1 2007/12/20 13:49:11 jan Exp $

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.

Located in /Image/Image/Effect/gd/round_corners.php (line 16)

Horde_Image_Effect
   |
   --Horde_Image_Effect_gd_round_corners
Variable Summary
 array $_params
Method Summary
 mixed apply ()
Variables
array $_params = array('radius' => 10) (line 25)

Valid parameters:

radius - Radius of rounded corners.


Redefinition of:
Horde_Image_Effect::$_params
Effect parameters.

Inherited Variables

Inherited from Horde_Image_Effect

Horde_Image_Effect::$_image
Methods
apply (line 32)

Apply the round_corners effect.

  • return: true | PEAR_Error
mixed apply ()

Inherited Methods

Inherited From Horde_Image_Effect

 Horde_Image_Effect::Horde_Image_Effect()
 Horde_Image_Effect::factory()
 Horde_Image_Effect::_setImageObject()

Documentation generated on Sun, 30 Jan 2011 05:21:01 +0000 by phpDocumentor 1.4.3