$opacity
$opacity : float
Opacity
Draw class for Gmagick
setOpacity(float $opacity) : \Pop\Image\Draw\Gmagick
Set the opacity
float | $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\Gmagick
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\Gmagick
Draw a rectangle on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $h |
square(integer $x, integer $y, integer $w) : \Pop\Image\Draw\Gmagick
Draw a square on the image.
integer | $x | |
integer | $y | |
integer | $w |
roundedRectangle(integer $x, integer $y, integer $w, integer $h = null, integer $rx = 10, integer $ry = null) : \Pop\Image\Draw\Gmagick
Draw a rounded rectangle on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $h | |
integer | $rx | |
integer | $ry |
roundedSquare(integer $x, integer $y, integer $w, integer $rx = 10, integer $ry = null) : \Pop\Image\Draw\Gmagick
Draw a rounded square on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $rx | |
integer | $ry |
ellipse(integer $x, integer $y, integer $w, integer $h = null) : \Pop\Image\Draw\Gmagick
Draw an ellipse on the image.
integer | $x | |
integer | $y | |
integer | $w | |
integer | $h |
circle(integer $x, integer $y, integer $w) : \Pop\Image\Draw\Gmagick
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\Gmagick
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\Gmagick
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\Gmagick
Draw a pie slice on the image.
integer | $x | |
integer | $y | |
integer | $start | |
integer | $end | |
integer | $w | |
integer | $h |
polygon(array $points) : \Pop\Image\Draw\Gmagick
Draw a polygon on the image.
array | $points |