Class Horde_Image_Effect_im_border

Description

Image border decorator for the Horde_Image package.

$Horde: framework/Image/Image/Effect/im/border.php,v 1.2.2.2 2009/03/23 18:15:48 mrubinsk Exp $

Located in /Image/Image/Effect/im/border.php (line 10)

Horde_Image_Effect
   |
   --Horde_Image_Effect_im_border
Variable Summary
 array $_params
Method Summary
 void apply ()
Variables
array $_params = array('bordercolor' => 'black',
'borderwidth' => 1,
'preserve' => true)
(line 21)

Valid parameters for border effects:

bordercolor - Border color. Defaults to black. borderwidth - Border thickness, defaults to 1 pixel. preserve - Preserves the alpha transparency layer (if present)


Redefinition of:
Horde_Image_Effect::$_params
Effect parameters.

Inherited Variables

Inherited from Horde_Image_Effect

Horde_Image_Effect::$_image
Methods
apply (line 32)

Draw the border.

This draws the configured border to the provided image. Beware, that every pixel inside the border clipping will be overwritten with the background color.

void 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:15:36 +0000 by phpDocumentor 1.4.3