class Canvas implements FilterInterface
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 53
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 64
public ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance