Method | Description | |
---|---|---|
__construct ( Symfony\Component\Config\FileLocator $fileLocator ) | MaskTransformation constructor. | |
execute ( Imagine\Image\ImageInterface $image, $parameters ) |
Method | Description | |
---|---|---|
createMask ( $maskPath, $width, $height ) : Imagine\Image\ImageInterface | Create mask. |
public __construct ( Symfony\Component\Config\FileLocator $fileLocator ) | ||
$fileLocator | Symfony\Component\Config\FileLocator |
protected createMask ( $maskPath, $width, $height ) : Imagine\Image\ImageInterface | ||
$maskPath | ||
$width | ||
$height | ||
return | Imagine\Image\ImageInterface |
public execute ( Imagine\Image\ImageInterface $image, $parameters ) | ||
$image | Imagine\Image\ImageInterface |