PHP Class Grafika\Imagick\Filter\Brightness

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

Protected Properties

Property Type Description
$amount integer

Public Methods

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

Method Details

__construct() public method

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 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