PHP Class Lime\Helper\Img

Afficher le fichier Open project: sjardim/Hugopit

Protected Properties

Свойство Type Description
$image
$imagine

Méthodes publiques

Méthode Description
__construct ( $img )
base64data ( $format = null, $quality = 100 )
best_fit ( $width, $height )
colorize ( $colorhex, $opacity = 1 )
crop ( $startX, $startY, $endX, $endY )
flipHorizontally ( )
flipVertically ( )
grayscale ( )
negative ( )
overlay ( $overlay_file, $position = 'center', $opacity = 1, $x_offset, $y_offset )
resize ( $width, $height )
rotate ( $angle )
save ( $path, $quality = 100 )
show ( $format = null, $quality = 100 )
sketch ( )
text ( $text, $font_file, $font_size = 12, $color = '#000000', $position = 'center', $x_offset, $y_offset )
thumbnail ( $width, $height )

Method Details

__construct() public méthode

public __construct ( $img )

base64data() public méthode

public base64data ( $format = null, $quality = 100 )

best_fit() public méthode

public best_fit ( $width, $height )

colorize() public méthode

public colorize ( $colorhex, $opacity = 1 )

crop() public méthode

public crop ( $startX, $startY, $endX, $endY )

flipHorizontally() public méthode

public flipHorizontally ( )

flipVertically() public méthode

public flipVertically ( )

grayscale() public méthode

public grayscale ( )

negative() public méthode

public negative ( )

overlay() public méthode

public overlay ( $overlay_file, $position = 'center', $opacity = 1, $x_offset, $y_offset )

resize() public méthode

public resize ( $width, $height )

rotate() public méthode

public rotate ( $angle )

save() public méthode

public save ( $path, $quality = 100 )

show() public méthode

public show ( $format = null, $quality = 100 )

sketch() public méthode

public sketch ( )

text() public méthode

public text ( $text, $font_file, $font_size = 12, $color = '#000000', $position = 'center', $x_offset, $y_offset )

thumbnail() public méthode

public thumbnail ( $width, $height )

Property Details

$image protected_oe property

protected $image

$imagine protected_oe property

protected $imagine