PHP 클래스 Lime\Helper\Img

파일 보기 프로젝트 열기: sjardim/Hugopit

보호된 프로퍼티들

프로퍼티 타입 설명
$image
$imagine

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

public __construct ( $img )

base64data() 공개 메소드

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

best_fit() 공개 메소드

public best_fit ( $width, $height )

colorize() 공개 메소드

public colorize ( $colorhex, $opacity = 1 )

crop() 공개 메소드

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

flipHorizontally() 공개 메소드

public flipHorizontally ( )

flipVertically() 공개 메소드

public flipVertically ( )

grayscale() 공개 메소드

public grayscale ( )

negative() 공개 메소드

public negative ( )

overlay() 공개 메소드

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

resize() 공개 메소드

public resize ( $width, $height )

rotate() 공개 메소드

public rotate ( $angle )

save() 공개 메소드

public save ( $path, $quality = 100 )

show() 공개 메소드

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

sketch() 공개 메소드

public sketch ( )

text() 공개 메소드

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

thumbnail() 공개 메소드

public thumbnail ( $width, $height )

프로퍼티 상세

$image 보호되어 있는 프로퍼티

protected $image

$imagine 보호되어 있는 프로퍼티

protected $imagine