PHP Class Grafika\Imagick\Filter\Contrast

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 ) Contrast constructor.
apply ( Image $image ) : Image

Method Details

__construct() public méthode

Contrast constructor.
public __construct ( integer $amount )
$amount integer The amount of contrast to apply. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to increase.

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