PHP 클래스 Grafika\Imagick\Filter\Colorize

상속: implements Grafika\FilterInterface
파일 보기 프로젝트 열기: kosinix/grafika

보호된 프로퍼티들

프로퍼티 타입 설명
$blue integer
$green integer
$red integer

공개 메소드들

메소드 설명
__construct ( integer $red, integer $green, integer $blue ) Colorize constructor.
apply ( Image $image ) : Image

비공개 메소드들

메소드 설명
normalizeLevel ( $level )

메소드 상세

__construct() 공개 메소드

Colorize constructor.
public __construct ( integer $red, integer $green, integer $blue )
$red integer The amount of red colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add.
$green integer The amount of green colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add.
$blue integer The amount of blue colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add.

apply() 공개 메소드

public apply ( Image $image ) : Image
$image Grafika\Imagick\Image
리턴 Grafika\Imagick\Image

프로퍼티 상세

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

protected int $blue
리턴 integer

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

protected int $green
리턴 integer

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

protected int $red
리턴 integer