Class Horde_Image_Effect_gd_drop_shadow

Description

Image effect for adding a drop shadow.

$Horde: framework/Image/Image/Effect/gd/drop_shadow.php,v 1.4.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/drop_shadow.php (line 16)

Horde_Image_Effect
   |
   --Horde_Image_Effect_gd_drop_shadow
Variable Summary
 array $_params
Method Summary
 mixed apply ()
Variables
array $_params = array('distance' => 5,
'width' => 2,
'hexcolor' => '000000',
'angle' => 215,
'fade' => 10)
(line 25)

Valid parameters:

  • TODO:

Redefinition of:
Horde_Image_Effect::$_params
Effect parameters.

Inherited Variables

Inherited from Horde_Image_Effect

Horde_Image_Effect::$_image
Methods
apply (line 36)

Apply the drop_shadow 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:16:56 +0000 by phpDocumentor 1.4.3