Documentation

AbstractEffect extends AbstractEditObject
in package
implements EffectInterface

AbstractYes

Abstract effect class

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

Interfaces

EffectInterface
Effect interface

Properties

$image  : mixed
Image object

Methods

__construct()  : mixed
Constructor
calculateSteps()  : int|float
Calculate the steps between two points
getBlend()  : array<string|int, mixed>
Get the blend between 2 colors
getImage()  : AbstractAdapter|null
Get the image object
hasImage()  : bool
Has the image object
setImage()  : AbstractEditObject
Set the image object

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