W3cubDocs

/Phalcon 3

Interface Phalcon\Image\AdapterInterface

Source on GitHub

Methods

abstract public resize ([mixed $width], [mixed $height], [mixed $master])

...

abstract public crop (mixed $width, mixed $height, [mixed $offsetX], [mixed $offsetY])

...

abstract public rotate (mixed $degrees)

...

abstract public flip (mixed $direction)

...

abstract public sharpen (mixed $amount)

...

abstract public reflection (mixed $height, [mixed $opacity], [mixed $fadeIn])

...

abstract public watermark (Phalcon\Image\Adapter $watermark, [mixed $offsetX], [mixed $offsetY], [mixed $opacity])

...

abstract public text (mixed $text, [mixed $offsetX], [mixed $offsetY], [mixed $opacity], [mixed $color], [mixed $size], [mixed $fontfile])

...

abstract public mask (Phalcon\Image\Adapter $watermark)

...

abstract public background (mixed $color, [mixed $opacity])

...

abstract public blur (mixed $radius)

...

abstract public pixelate (mixed $amount)

...

abstract public save ([mixed $file], [mixed $quality])

...

abstract public render ([mixed $ext], [mixed $quality])

...

© 2011–2017 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/latest/api/Phalcon_Image_AdapterInterface.html