Class Horde_Image_Effect_border

Description

Image border decorator for the Horde_Image package.

$Horde: framework/Image/Image/Effect/border.php,v 1.1.2.1 2007/12/20 13:49:11 jan Exp $

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

Horde_Image_Effect
   |
   --Horde_Image_Effect_border
Variable Summary
 array $_params
Method Summary
 void apply ()
Variables
array $_params = array('padding' => 0,
'borderColor' => 'black',
'fillColor' => 'white',
'lineWidth' => 1,
'roundWidth' => 0)
(line 23)

Valid parameters for border decorators:

padding - Pixels from the image edge that the border will start. borderColor - Border color. Defaults to black. fillColor - Color to fill the border with. Defaults to white. lineWidth - Border thickness, defaults to 1 pixel. roundWidth - Width of the corner rounding. Defaults to none.


Redefinition of:
Horde_Image_Effect::$_params
Effect parameters.

Inherited Variables

Inherited from Horde_Image_Effect

Horde_Image_Effect::$_image
Methods
apply (line 36)

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