Documentation

Gd extends AbstractEffect
in package

Effect class for Gd

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2023 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
__construct()  : mixed
Constructor
border()  : Gd
Draw a border around the image.
calculateSteps()  : int
Calculate the steps between two points
fill()  : Gd
Flood the image with a color fill.
getBlend()  : array<string|int, mixed>
Get the blend between 2 colors
getImage()  : AbstractAdapter
Get the image object
hasImage()  : bool
Has the image object
horizontalGradient()  : Gd
Flood the image with a vertical color gradient.
linearGradient()  : Gd
Flood the image with a color gradient.
radialGradient()  : Gd
Flood the image with a vertical color gradient.
setImage()  : AbstractEditObject
Set the image object
verticalGradient()  : Gd
Flood the image with a vertical color gradient.

Properties

Methods

border()

Draw a border around the image.

public border(ColorInterface $color, int $w[, int $h = null ]) : Gd
Parameters
$color : ColorInterface
$w : int
$h : int = null
Return values
Gd

calculateSteps()

Calculate the steps between two points

public calculateSteps(int $curStep, int $start, int $end, int $totalSteps) : int
Parameters
$curStep : int
$start : int
$end : int
$totalSteps : int
Return values
int

Search results