class Canvas implements FilterInterface
A canvas filter
Methods
__construct(ImagineInterface $imagine, BoxInterface $size, PointInterface $placement = null, Color $background = null)
Constructs Canvas filter with given width and height and the placement of the current image inside the new canvas |
||
ImageInterface |
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |
Details
at line 56
public
__construct(ImagineInterface $imagine, BoxInterface $size, PointInterface $placement = null, Color $background = null)
Constructs Canvas filter with given width and height and the placement of the current image inside the new canvas
at line 67
public ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance