$image
$image : \Pop\Image\AbstractImage
Image object
Effect class for Svg
$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 $dashLen = null, integer $dashGap = null) : \Pop\Image\Effect\Svg
Draw a border around the image.
| array | $color | |
| integer | $w | |
| integer | $dashLen | |
| integer | $dashGap |
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, float $opacity = 1.0) : \Pop\Image\Effect\Svg
Flood the image with a radial color gradient.
| array | $color1 | |
| array | $color2 | |
| float | $opacity |
verticalGradient(array $color1, array $color2, float $opacity = 1.0) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
| array | $color1 | |
| array | $color2 | |
| float | $opacity |
horizontalGradient(array $color1, array $color2, float $opacity = 1.0) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
| array | $color1 | |
| array | $color2 | |
| float | $opacity |
linearGradient(array $color1, array $color2, float $opacity = 1.0, boolean $vertical = true) : \Pop\Image\Effect\Gd
Flood the image with a color gradient.
| array | $color1 | |
| array | $color2 | |
| float | $opacity | |
| boolean | $vertical |