\Pop\Image\LayerGd

Layer class for Gd

Summary

Methods
Properties
Constants
__construct()
getImage()
getOpacity()
setOpacity()
setImage()
overlay()
No public properties found
No constants found
No protected methods found
$image
$opacity
N/A
No private methods found
No private properties found
N/A

Properties

$opacity

$opacity : integer

Opacity

Type

integer

Methods

getOpacity()

getOpacity() : mixed

Get the opacity

Returns

mixed

setOpacity()

setOpacity(integer  $opacity) : \Pop\Image\Layer\Gd

Set the image opacity.

Parameters

integer $opacity

Returns

\Pop\Image\Layer\Gd

overlay()

overlay(string  $image, integer  $x, integer  $y) : \Pop\Image\Layer\Gd

Overlay an image onto the current image.

Parameters

string $image
integer $x
integer $y

Throws

\Pop\Image\Layer\Exception

Returns

\Pop\Image\Layer\Gd