Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Config\FileLocator $fileLocator ) | MaskTransformation constructor. | |
execute ( Imagine\Image\ImageInterface $image, $parameters ) |
Méthode | 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 | ||
Résultat | Imagine\Image\ImageInterface |
public execute ( Imagine\Image\ImageInterface $image, $parameters ) | ||
$image | Imagine\Image\ImageInterface |