$opacity
$opacity : integer
Opacity
Draw class for Gd
setOpacity(integer $opacity) : \Pop\Image\Draw\Gd
Set the opacity
integer | $opacity |
setFillColor(\Pop\Image\Color\ColorInterface $color) : \Pop\Image\Draw\AbstractDraw
Set fill color
\Pop\Image\Color\ColorInterface | $color |
setStrokeColor(\Pop\Image\Color\ColorInterface $color) : \Pop\Image\Draw\AbstractDraw
Set stroke color
\Pop\Image\Color\ColorInterface | $color |
setStrokeWidth(integer $w) : \Pop\Image\Draw\AbstractDraw
Get stroke width
integer | $w |
__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 |
line(integer $x1, integer $y1, integer $x2, integer $y2) : \Pop\Image\Draw\Gd
Draw a line on the image.
integer | $x1 | |
integer | $y1 | |
integer | $x2 | |
integer | $y2 |
rectangle(integer $x, integer $y, integer $w, integer $h = null) : \Pop\Image\Draw\Gd
Draw a rectangle on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $h |
square(integer $x, integer $y, integer $w) : \Pop\Image\Draw\Gd
Draw a square on the image.
integer | $x | |
integer | $y | |
integer | $w |
ellipse(integer $x, integer $y, integer $w, integer $h = null) : \Pop\Image\Draw\Gd
Draw an ellipse on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $h |
circle(integer $x, integer $y, integer $w) : \Pop\Image\Draw\Gd
Method to add a circle to the image.
integer | $x | |
integer | $y | |
integer | $w |
arc(integer $x, integer $y, integer $start, integer $end, integer $w, integer $h = null) : \Pop\Image\Draw\Gd
Draw an arc on the image.
integer | $x | |
integer | $y | |
integer | $start | |
integer | $end | |
integer | $w | |
integer | $h |
chord(integer $x, integer $y, integer $start, integer $end, integer $w, integer $h = null) : \Pop\Image\Draw\Gd
Draw a chord on the image.
integer | $x | |
integer | $y | |
integer | $start | |
integer | $end | |
integer | $w | |
integer | $h |
pie(integer $x, integer $y, integer $start, integer $end, integer $w, integer $h = null) : \Pop\Image\Draw\Gd
Draw a slice on the image.
integer | $x | |
integer | $y | |
integer | $start | |
integer | $end | |
integer | $w | |
integer | $h |
polygon(array $points) : \Pop\Image\Draw\Gd
Draw a polygon on the image.
array | $points |