Imagine\Filter\Basic\ApplyMask | Imagine API

- Classes
- Namespaces
- Interfaces
- Index

Imagine API
Class

# Imagine\Filter\Basic\ApplyMask

class ApplyMask implements FilterInterface

An apply mask filter

## Methods

| __construct(ImageInterface $mask) |
ImageInterface | apply(ImageInterface $image) Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |

## Details

###
at line 30
`public __construct(ImageInterface $mask)`

#### Parameters

ImageInterface | $mask |

###
at line 38
`public ImageInterface apply(ImageInterface $image)`

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

#### Parameters

ImageInterface | $image |

#### Return Value

ImageInterface |