$size
$size : integer
Type font size
Type class for Gd
$fillColor : \Pop\Image\Color\ColorInterface
Fill color
$strokeColor : \Pop\Image\Color\ColorInterface
Stroke color
getFillColor() : \Pop\Image\Color\ColorInterface
Get fill color
getStrokeColor() : \Pop\Image\Color\ColorInterface
Get stroke color
setFillColor(\Pop\Image\Color\ColorInterface $color) : \Pop\Image\Type\AbstractType
Set fill color
\Pop\Image\Color\ColorInterface | $color |
setStrokeColor(\Pop\Image\Color\ColorInterface $color) : \Pop\Image\Type\AbstractType
Set stroke color
\Pop\Image\Color\ColorInterface | $color |
setStrokeWidth(integer $w) : \Pop\Image\Type\AbstractType
Set stroke width
integer | $w |
size(integer $size) : \Pop\Image\Type\AbstractType
Set the font size
integer | $size |
font(string $font) : \Pop\Image\Type\AbstractType
Set the font
string | $font |
x(integer $x) : \Pop\Image\Type\AbstractType
Set the X-position
integer | $x |
y(integer $y) : \Pop\Image\Type\AbstractType
Set the Y-position
integer | $y |
xy(integer $x, integer $y) : \Pop\Image\Type\AbstractType
Set both the X- and Y-positions
integer | $x | |
integer | $y |
rotate(integer $degrees) : \Pop\Image\Type\AbstractType
Set the rotation of the text
integer | $degrees |
setOpacity(integer $opacity) : \Pop\Image\Type\Gd
Set the opacity
integer | $opacity |
__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 |
text(string $string) : \Pop\Image\Type\Gd
Set and apply the text on the image
string | $string |