DemoFilter
in package
implements
FilterInterface
Table of Contents
Interfaces
Constants
- DEFAULT_SIZE = 10
- Default size of filter effects
Properties
- $size : int
- Size of filter effects
Methods
- __construct() : mixed
- Creates new instance of filter
- applyFilter() : Image
- Applies filter effects to given image
Constants
DEFAULT_SIZE
Default size of filter effects
public
mixed
DEFAULT_SIZE
= 10
Properties
$size
Size of filter effects
private
int
$size
Methods
__construct()
Creates new instance of filter
public
__construct([int $size = null ]) : mixed
Parameters
- $size : int = null
applyFilter()
Applies filter effects to given image
public
applyFilter(Image $image) : Image
Parameters
- $image : Image