class ApplyMask implements FilterInterface

An apply mask filter.

Methods

__construct(ImageInterface $mask)

Initialize the instance.

apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Details

at line 32
__construct(ImageInterface $mask)

Initialize the instance.

Parameters

ImageInterface $mask

at line 42
ImageInterface apply(ImageInterface $image)

Applies scheduled transformation to an ImageInterface instance.

Parameters

ImageInterface $image

Return Value

ImageInterface returns the processed ImageInterface instance

See also

FilterInterface::apply