Documentation

Imagick extends AbstractEffect
in package

Effect class for Imagick

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

Methods

__construct()  : mixed
Constructor
border()  : Imagick
Draw a border around the image.
calculateSteps()  : int|float
Calculate the steps between two points
fill()  : Imagick
Flood the image with a color fill.
getBlend()  : array<string|int, mixed>
Get the blend between 2 colors
getImage()  : AbstractAdapter|null
Get the image object
hasImage()  : bool
Has the image object
horizontalGradient()  : Imagick
Flood the image with a vertical color gradient.
linearGradient()  : Imagick
Flood the image with a color gradient.
radialGradient()  : Imagick
Flood the image with a vertical color gradient.
setImage()  : AbstractEditObject
Set the image object
verticalGradient()  : Imagick
Flood the image with a vertical color gradient.

Properties

Methods

calculateSteps()

Calculate the steps between two points

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

        
On this page

Search results