*
{@link ezcImageGeometryFilters}
* {@link ezcImageColorspaceFilters}
* {@link ezcImageEffectFilters}
* {@link ezcImageWatermarkFilters}
* {@link ezcImageThumbnailFilters}
*
*
* The options for each filter are represented by the parameters received by
* their corresponding method. You can determine if a certain {@link
* ezcImageHandler} implementation supports a filter by checking the interfaces
* this handler implements.
*
* @see ezcImageTransformation
*
* @package ImageConversion
* @version 1.3.6
*/
class ezcImageFilter extends ezcBaseStruct
{
/**
* Name of filter operation to use.
*
* @see ezcImageEffectFilters
* @see ezcImageGeometryFilters
* @see ezcImageColorspaceFilters
*
* @var string
*/
public $name;
/**
* Associative array of options for the filter operation.
* The array key is the option name and the array entry is the value for
* the option.
* Consult each filter operation to see which names and values to use.
*
* @see ezcImageEffectFilters
* @see ezcImageGeometryFilters
* @see ezcImageColorspaceFilters
*
* @var array(string=>mixed)
*/
public $options;
/**
* Initialize with the filter name and options.
*
* @see ezcImageFilter::$name
* @see ezcImageFilter::$options
*
* @param array $name Name of filter operation.
* @param array $options Associative array of options for filter operation.
*/
public function __construct( $name, array $options = array() )
{
$this->name = $name;
$this->options = $options;
}
}
?>