Documentation

Gd extends AbstractLayer
in package

Layer class for Gd

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.4.0

Table of Contents

$image  : mixed
Image object
$opacity  : int
Opacity
__construct()  : mixed
Constructor
getImage()  : AbstractAdapter
Get the image object
getOpacity()  : mixed
Get the opacity
hasImage()  : bool
Has the image object
overlay()  : Gd
Overlay an image onto the current image.
setImage()  : AbstractEditObject
Set the image object
setOpacity()  : AbstractLayer
Set the image opacity.

Properties

$opacity

Opacity

protected int $opacity = 100

Methods

getOpacity()

Get the opacity

public getOpacity() : mixed
Return values
mixed

overlay()

Overlay an image onto the current image.

public overlay(string $image, int $x, int $y) : Gd
Parameters
$image : string
$x : int
$y : int
Tags
throws
Exception
Return values
Gd

Search results