$image
$image : \Pop\Image\AbstractImage
Image object
Effect class for Gd
$image : \Pop\Image\AbstractImage
Image object
__construct(\Pop\Image\AbstractImage $image = null) : \Pop\Image\Effect\AbstractEffect
Constructor
Instantiate an image object
\Pop\Image\AbstractImage | $image |
getImage() : \Pop\Image\AbstractImage
Get the image object
setImage(\Pop\Image\AbstractImage $image) : \Pop\Image\Effect\AbstractEffect
Set the image object
\Pop\Image\AbstractImage | $image |
border(array $color, integer $w, integer $h = null) : \Pop\Image\Effect\Gd
Draw a border around the image.
array | $color | |
integer | $w | |
integer | $h |
fill(integer $r, integer $g, integer $b) : \Pop\Image\Effect\Gd
Flood the image with a color fill.
integer | $r | |
integer | $g | |
integer | $b |
radialGradient(array $color1, array $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
array | $color1 | |
array | $color2 |
verticalGradient(array $color1, array $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
array | $color1 | |
array | $color2 |
horizontalGradient(array $color1, array $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
array | $color1 | |
array | $color2 |
linearGradient(array $color1, array $color2, boolean $vertical = true) : \Pop\Image\Effect\Gd
Flood the image with a color gradient.
array | $color1 | |
array | $color2 | |
boolean | $vertical |