ApplyMask
in package
implements
FilterInterface
An apply mask filter.
Table of Contents
Interfaces
- FilterInterface
- Interface for imagine filters.
Properties
Methods
- __construct() : mixed
- Initialize the instance.
- apply() : ImageInterface
- Applies scheduled transformation to an ImageInterface instance.
Properties
$mask
private
ImageInterface
$mask
Methods
__construct()
Initialize the instance.
public
__construct(ImageInterface $mask) : mixed
Parameters
- $mask : ImageInterface
apply()
Applies scheduled transformation to an ImageInterface instance.
public
apply(ImageInterface $image) : ImageInterface
Parameters
- $image : ImageInterface
Tags
Return values
ImageInterface —returns the processed ImageInterface instance