Documentation

Gd extends AbstractLayer
in package

Layer class for Gd

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
4.0.0

Table of Contents

Properties

$image  : mixed
Image object
$opacity  : int|float|null
Opacity

Methods

__construct()  : mixed
Constructor
getImage()  : AbstractAdapter|null
Get the image object
getOpacity()  : int|float|null
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|float|null $opacity = 100

Methods

getOpacity()

Get the opacity

public getOpacity() : int|float|null
Return values
int|float|null

overlay()

Overlay an image onto the current image.

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

        
On this page

Search results