Canvas
class Canvas implements FilterInterface
A canvas filter.
Methods
__construct(ImagineInterface $imagine, BoxInterface $size, PointInterface $placement = null, ColorInterface $background = null)
Constructs Canvas filter with given width and height and the placement of the current image inside the new canvas.
Details
at line 55
__construct(ImagineInterface $imagine, BoxInterface $size, PointInterface $placement = null, ColorInterface $background = null)
Constructs Canvas filter with given width and height and the placement of the current image inside the new canvas.
at line 68
ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to an ImageInterface instance.