PHP Class Grafika\Imagick\Filter\Brightness

TODO: param checks
Inheritance: implements Grafika\FilterInterface
Afficher le fichier Open project: kosinix/grafika

Protected Properties

Свойство Type Description
$amount integer

Méthodes publiques

Méthode Description
__construct ( integer $amount ) Brightness constructor.
apply ( Image $image ) : Image

Method Details

__construct() public méthode

Brightness constructor.
public __construct ( integer $amount )
$amount integer The amount of brightness to apply. >= -100 and <= -1 to darken. 0 for no change. >= 1 and <= 100 to brighten.

apply() public méthode

public apply ( Image $image ) : Image
$image Grafika\Imagick\Image
Résultat Grafika\Imagick\Image

Property Details

$amount protected_oe property

protected int $amount
Résultat integer