Метод |
Описание |
|
__construct ( string $file = null, string $driver = null, boolean $useProgressiveJpeg = false ) |
Constructor. |
|
__toString ( ) : string |
Convert object to binary data of current image. |
|
background ( $color, $opacity = 100 ) |
|
|
crop ( $width, $height, $offset_x = null, $offset_y = null ) |
|
|
detectPath ( array $file ) : string |
This method detects which (absolute or relative) path is used. |
|
flip ( $direction ) |
|
|
image ( ) : Image |
This method returns the current Image instance. |
|
init ( ) |
|
|
reflection ( $height = null, $opacity = 100, $fade_in = false ) |
|
|
render ( $type = null, $quality = 100 ) |
|
|
resize ( $width = null, $height = null, $master = null ) |
Description of the methods for the AutoComplete feature in a IDE
because it uses a design pattern "factory". |
|
rotate ( $degrees ) |
|
|
save ( $file = null, $quality = 100 ) |
|
|
scaleAndCrop ( $width, $height ) |
|
|
sharpen ( $amount ) |
|
|
thumbOf ( string $file, array $params = [], array $htmlOptions = [], mixed $hash = null ) : string |
This method returns prepared HTML code for cached thumbnail. |
|
thumbSrcOf ( string $file, array $params = [], mixed $hash = null ) : string |
This method returns the URL to the cached thumbnail. |
|
watermark ( $watermark, $offset_x = null, $offset_y = null, $opacity = 100 ) |
|
|