Negate

Extends ImageFilter

Image Filter class to negate the colors of an image.

since

2.5.0

package

Application

Methods

__construct

Class constructor.

__construct(resource handle) : mixed
inherited
since

1.7.3

throws

\InvalidArgumentException

\RuntimeException

Arguments

handle

resourceThe image resource on which to apply the filter.

Response

mixed

execute

Method to apply a filter to an image resource.

execute(array options = []) : void
inherited abstract
since

2.5.0

Arguments

options

arrayAn array of options for the filter.

Properties

handle

The image resource handle.

inherited
since

2.5.0

Type(s)

resource