$image
$image : mixed
Image object
Effect class for Gd
getBlend(\Pop\Image\Color\ColorInterface $color1, \Pop\Image\Color\ColorInterface $color2, integer $tween) : array
Get the blend between 2 colors
\Pop\Image\Color\ColorInterface | $color1 | |
\Pop\Image\Color\ColorInterface | $color2 | |
integer | $tween |
__construct(\Pop\Image\Adapter\AbstractAdapter $image = null)
Constructor
Instantiate an image edit object
\Pop\Image\Adapter\AbstractAdapter | $image |
getImage() : \Pop\Image\Adapter\AbstractAdapter
Get the image object
setImage(\Pop\Image\Adapter\AbstractAdapter $image) : \Pop\Image\AbstractEditObject
Set the image object
\Pop\Image\Adapter\AbstractAdapter | $image |
border(\Pop\Image\Color\ColorInterface $color, integer $w, integer $h = null) : \Pop\Image\Effect\Gd
Draw a border around the image.
\Pop\Image\Color\ColorInterface | $color | |
integer | $w | |
integer | $h |
fill(\Pop\Image\Color\ColorInterface $color) : \Pop\Image\Effect\Gd
Flood the image with a color fill.
\Pop\Image\Color\ColorInterface | $color |
radialGradient(\Pop\Image\Color\ColorInterface $color1, \Pop\Image\Color\ColorInterface $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
\Pop\Image\Color\ColorInterface | $color1 | |
\Pop\Image\Color\ColorInterface | $color2 |
verticalGradient(\Pop\Image\Color\ColorInterface $color1, \Pop\Image\Color\ColorInterface $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
\Pop\Image\Color\ColorInterface | $color1 | |
\Pop\Image\Color\ColorInterface | $color2 |
horizontalGradient(\Pop\Image\Color\ColorInterface $color1, \Pop\Image\Color\ColorInterface $color2) : \Pop\Image\Effect\Gd
Flood the image with a vertical color gradient.
\Pop\Image\Color\ColorInterface | $color1 | |
\Pop\Image\Color\ColorInterface | $color2 |
linearGradient(\Pop\Image\Color\ColorInterface $color1, \Pop\Image\Color\ColorInterface $color2, boolean $vertical = true) : \Pop\Image\Effect\Gd
Flood the image with a color gradient.
\Pop\Image\Color\ColorInterface | $color1 | |
\Pop\Image\Color\ColorInterface | $color2 | |
boolean | $vertical |