PHP Class Grafika\Imagick\Filter\Contrast

Inheritance: implements Grafika\FilterInterface
Datei anzeigen Open project: kosinix/grafika

Protected Properties

Property Type Description
$amount integer

Public Methods

Method Description
__construct ( integer $amount ) Contrast constructor.
apply ( Image $image ) : Image

Method Details

__construct() public method

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 method

public apply ( Image $image ) : Image
$image Grafika\Imagick\Image
return Grafika\Imagick\Image

Property Details

$amount protected_oe property

protected int $amount
return integer